sqldataadapter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello!
From my datagrid i will link to a webform to show details. The details can
be updated.
I use <%=Request.QueryString["id"]%> from the grid to bind the spesific
record in the webform.
What is the best way to do in "page load" and OnUpdateCommand="Update" of
the webform. Nice if you have a example of code.

Thanks C
 
Hi,

Your question is not very clear so I will try to guess what you want.
I use <%=Request.QueryString["id"]%> from the grid to bind the spesific
record in the webform

Where you put this? in the grid? if so it's wrong.
if in the grid you put a link like :
you can access the ID as you want in the details page.

Another thing, if you edit the record in a "details" page there is no need
to process the datagrid.updatecommand

please be more especific.


cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation



CJ said:
Hello!
From my datagrid i will link to a webform to show details. The details can
be updated.
I use <%=Request.QueryString["id"]%> from the grid to bind the spesific
record in the webform.
What is the best way to do in "page load" and OnUpdateCommand="Update" of
the webform. Nice if you have a example of code.

Thanks C
 
Back
Top