When I'm deleting a row from a data gridview containing many rows, some times more than 1 row is getting deleted, even though i've selected only one row. I have observed that when i move around a blank row and then select another row by mouse clicking and press the delete button, this happens.
I would also like to know, is there any method by which i can find out how many rows will be deleted.
Your valuable suggestions & reply will be highly appreciated.
with regards, wilfi Realsoft
Changed TypeXingwei HuThursday, November 20, 2008 2:19 AMchanged the type of the thread because you didn't respond in 3 days
i said method, coz you have to set primery key to any one of your column to delete row properly, thats why i asked you to see my example at given link, still it does not work, then show me code that i can currect it
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.