Click here to Skip to main content
14,695,321 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

use checkbox column in datagridview


then select the rows by checking the checkbox and use loop to delete selected rows only
   
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900