C# gridview nested in repeater update
Posted
by Padawan
on Stack Overflow
See other posts from Stack Overflow
or by Padawan
Published on 2009-07-06T19:29:15Z
Indexed on
2010/04/16
16:03 UTC
Read the original article
Hit count: 212
My current situation is to display an unknown number of Plantypes and within those Plantypes display a list of Participants(also unknown number), the participants have a textbox and a dropdown that is editable (you can't edit the individual rows, there is one update that does a bit of validation then updates all rows.)
I currently have a gridview nested withing a repeater, the repeater displays the Plan in a label and OnItemDataBound I call a method to populate the gridviews. It looks great, but I can't figure out how to save all the data at once. I'm not opposed to handling this a different way, as in loose the gridview and or repeater, if someone has a better idea.
This is C# and framework 2.0...there is no sorting or paging on the gridviews...just some links and the fields to update.
thanks in advance, Padawan
© Stack Overflow or respective owner