asp.net gridview 无法更新数据

参考资料:

http://forums.asp.net/p/1015092/3533785.aspx

Thanks to Moonshadow's code I solved my problems with deleting rows.

For those who have the next error using MySql:

SQLBindParameter not used for all parameters

In my code everything was in place and correct but I was forgetting

  1. DataKeyNames="ID"  

inside <asp:GridView ... >

 

Thanks Moonshadow. :D

原文地址:https://www.cnblogs.com/dabaopku/p/1903060.html