K
K Goodson via .NET 247
I want to edit a datagrid by linking to another form(the Edit form) when the user clicks a linkbutton.
I am trying to capture the datarow for the datagrid line where the Edit linkbutton is clicked. Then I want to
put that datarow in a public property in the first form so that in the Edit form I can display this data and allow
updates and then have the updated data show back up in the first form.
I am using the @Reference Page=form1.aspx in the Edit form to allow the datarow to be accessed.
How do I do this? How do I capture the specific datarow underlying the itemindex of the chosen grid line
and how to access each of the datarows columns in the Edit form for editing? Thanks. KG
I am trying to capture the datarow for the datagrid line where the Edit linkbutton is clicked. Then I want to
put that datarow in a public property in the first form so that in the Edit form I can display this data and allow
updates and then have the updated data show back up in the first form.
I am using the @Reference Page=form1.aspx in the Edit form to allow the datarow to be accessed.
How do I do this? How do I capture the specific datarow underlying the itemindex of the chosen grid line
and how to access each of the datarows columns in the Edit form for editing? Thanks. KG