Click here to Skip to main content
14,667,837 members
Rate this:
Please Sign up or sign in to vote.
See more:
How to select multiple rows in Datagridview in c# to delete records.
Posted
Comments
Vedangi 11-Sep-12 2:00am
   
This link might help you .

http://www.codeproject.com/Tips/405576/Deleting-Multiple-Rows-in-GridView-in-ASP-NET

Rate this:
Please Sign up or sign in to vote.

Solution 2

use checkbox column in datagridview


then select the rows by checking the checkbox and use loop to delete selected rows only
   
Rate this:
Please Sign up or sign in to vote.

Solution 4

Have one checkbox column, check the checkbox of row to be delete and loop through that checked value. for more follow the below link.

delete-multiple-rows-in-gridview
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100