I've searched around for examples of what I'm trying to do, but haven't found it. I've seen some examples or grids where every field is editable and then can be saved, or one row at a time can be saved. What I am trying to do is have it so someone can:
1. Click on a row and edit that row only.
2. Click on a column and edit that column only for all rows.
I'm limited in not being able to use third party tools. Any thoughts on the best way to accomplish this? I'm thinking I need to use a repeater, right? Or can a gridview accomplish this too?
I ended up using the checkbox method listed in the csharpdotnetfreak site. It wasn't what I was originally looking for, but ended up doing the trick. Thanks!
aozm
Member
153 Points
37 Posts
how to edit multiple rows in repeater (or gridview)
Nov 08, 2011 11:36 AM|LINK
I've searched around for examples of what I'm trying to do, but haven't found it. I've seen some examples or grids where every field is editable and then can be saved, or one row at a time can be saved. What I am trying to do is have it so someone can:
1. Click on a row and edit that row only.
2. Click on a column and edit that column only for all rows.
I'm limited in not being able to use third party tools. Any thoughts on the best way to accomplish this? I'm thinking I need to use a repeater, right? Or can a gridview accomplish this too?
Any help would be greatly appreciated. Thanks!
Rajneesh Ver...
All-Star
37372 Points
6846 Posts
Re: how to edit multiple rows in repeater (or gridview)
Nov 08, 2011 12:00 PM|LINK
See if it hepls:
http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple-records-gridview-checkbox.html
http://stackoverflow.com/questions/5842148/how-to-update-multiple-rows-using-gridview-in-asp-net-on-a-single-button-click
http://c-sharp-tutorials.com/?p=256
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
salman beher...
All-Star
30721 Points
5871 Posts
Re: how to edit multiple rows in repeater (or gridview)
Nov 08, 2011 12:47 PM|LINK
http://www.dotnetfunda.com/articles/article136.aspx
http://forums.asp.net/p/1533578/3720834.aspx
http://www.codeproject.com/KB/webforms/EditGridviewCells.aspx
Thanks...
Sincerely,
Salman
DotNetSeeker
Contributor
3169 Points
589 Posts
Re: how to edit multiple rows in repeater (or gridview)
Nov 10, 2011 07:13 PM|LINK
This is on ListView , but can easily be extended to Repeater or GridView.
http://simpledotnetsolutions.wordpress.com/2011/10/22/listview-bulk-edit-using-ado-nets-batchupdate-and-jquery/
Hope thishelps. Thanks.
2011 Microsoft Community Contributor Award Recipient
aozm
Member
153 Points
37 Posts
Re: how to edit multiple rows in repeater (or gridview)
Nov 16, 2011 04:03 PM|LINK
I ended up using the checkbox method listed in the csharpdotnetfreak site. It wasn't what I was originally looking for, but ended up doing the trick. Thanks!