阅读背景:

尝试从datagridview中删除所选行,但它正在删除多行

来源:互联网 

It is a simple question, but since I am new to C#, I am not sure how to solve this. Basically, I have a datagridview that displays records from MySQL table. I have a delete button, which by clicking performs the sql query, which is working fine, and is also meant to then delete the selected row from datgridview. But what actually happening, is it deletes multiple rows even when only one row is selected. Here is the query:It is a simple question, but since I am new to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: