Click to See Complete Forum and Search --> : Editing a row in a nested datagrid (HELP!!)


madscene
September 1st, 2004, 06:45 PM
I have been trying all day different techniques I found on the internet to edit a row in a nested datagrid. I have the nested grid working fine, using a data set, and then getting a child view for each data row and binding that to the nested grid. I can't get the editcommand to fire from the nested grid though. I got pretty far using this VB article as a reference:

http://www.developer.com/net/vb/article.php/2228761

But I am trying to do this in C# and I couldn't get it to work the way he described. Does anyone have any good resources/sample code/suggestions for this? I am at wit's end.

MRutledge
September 1st, 2004, 07:16 PM
did you look on www.asp.net? They have some good tutorials on there.

madscene
September 2nd, 2004, 08:59 AM
Yeah, the article I link to is one linked from that site. It's all in VB and I wasn't able to get everything to work the same way in C#

madscene
September 2nd, 2004, 10:38 AM
I think I found an answer: Microsoft has some sample code in their knowledge base. Basically it's a bug workaround:

http://support.microsoft.com/default.aspx?scid=kb;en-us;815004