getting value from a Querystring

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

Guest

Hi

I've craeting a datagrid to show all the records. But if I want to edit a record I want to go to another page and populate the whole form and then do edit record. If I create a link on the datagrid ID as <editmfg.aspx?id="52">, how can I populate it on edit page as we do in asp (select * from mfg where id = " & request.querystring("ID"))??

Please help..

TIA
Kulwinder
 
The exact same way. If you had looked at the Page class, you would have seen
that it has a QueryString property, which is a collection containing all
parameters passed in the query string of the page.

Kulwinder said:
Hi,

I've craeting a datagrid to show all the records. But if I want to edit a
record I want to go to another page and populate the whole form and then do
edit record. If I create a link on the datagrid ID as
 
Back
Top