GridView RowEditing 问题.为什么绑定两次,然后再导航呢?
The GridView 'gvSkill ' fired event RowEditing which wasn 't handled.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
..........
我想在RowCommand事件中,导航到Edit页面.
我知道提示缺少RowEditing 事件,我加了一个空RowEditing 方法,
但是这时候却绑定两次,然后在导航了,
为什么呢?
------解决方案-------------------- GridView1.EditIndex = e.NewEditIndex;
GridviewDatabind();//绑定数据库.你要在从新绑定下数据库.