Non inline datagrid edit

  • Thread starter K Goodson via .NET 247
  • Start date
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
 
C

Cor Ligthert

K,

Know that working with one form is the most easy to do.

You can create of course two panels and hide and show those when it is is
needed.

Your user will see them as 2 pages. You know it is one and a lot easier to
handle.

Just an idea,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top