The GridView 'PendingRecordsGridview' fired event RowDeleting which wasn't handled

后端 未结 2 1365
清酒与你
清酒与你 2020-12-17 21:16

I\'ve searched in google there\'s an easy way to delete a record with confirmation using this code:


                  


        
2条回答
  •  渐次进展
    2020-12-17 22:02

    You are trying with a command name of Delete for your delete button. So the gridview creates a row deleting event automatically....

    You need to change the command argument from Delete to something else like Delete_Product or whatever...

提交回复
热议问题