Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit all rows for one column in a GridView

I would like to be able to bulk edit all the rows for one column using a GridView control. What is the best way to do this?

like image 707
Joel Cunningham Avatar asked May 27 '10 04:05

Joel Cunningham


1 Answers

If you want to update all rows with same value then show proper control(textbox/dropdown/checkbox/radio) in column header else show the grid column in edit mode instead of label.

See following:
http://www.codeproject.com/KB/webforms/BulkEditGridView.aspx

like image 92
Brij Avatar answered Oct 24 '22 12:10

Brij