参考资料:

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

 

 

相关文章: