单击编辑按钮后开始编辑数据需要很长时间。编辑按钮由命令AutoGenerateEditButton生成。在代码中,我在每个事件中都添加了点,但在单击编辑按钮和gridview_databound之间找不到事件。
当我尝试添加事件OnRowCommand时,我收到错误:'ASP.details_aspx' does not contain a definition for 'tableResults_RowCommand' and no extension method 'tableResults_RowCommand' accepting a first argument of type 'ASP.details_aspx' could be found (are you missing a using directive or an assembly reference?)
答案 0 :(得分:0)
这些事件发生在click on edit button
和gridview_databound
之间
这些是: -
RowEditing - 在生成编辑事件时触发,即editindex> -1时
RowUpdating : - 点击更新时会触发此信息
Rowupdate :在提交更新时触发。
您的关注事件为RowEditing