The GridView ' ' fired event RowUpdating which wasn't handled. C# code behind asp.net

后端 未结 2 1048
名媛妹妹
名媛妹妹 2021-01-23 07:51

There are similar questions on Stackoverflow and other websites, but I seem to miss something.

I have a GridView bound to a DataTable which comes from a database. My goa

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-23 08:29

    If you are using the Row_Command event to edit, then don't use the button command name "Update" for Update and "Delete" for Delete. Instead, use Edit or UP and Del respectively.

提交回复
热议问题