Dark_AngeL
05-25-2006, 06:32 AM
Hi :hi:
I am trying to pass values from a datagrid to form
In the datagrid page I did this
<asp:HyperLinkColumn Text="Edit" DataNavigateUrlField="ItemNo" DataNavigateUrlFormatString="ItemsDetails.aspx?ItemNo={0}" DataTextField="ItemNo" HeaderText="Settings"></asp:HyperLinkColumn>
And in the form page I did this
Public Sub Page_Load(Source As Object, E As EventArgs)
Response.write(Request.QueryString("ItemNo"))
End Sub
Ok I get the ItemNo in the begining of the form but I want it to appear in a readonly textbox I have txtItemNo.Text
But how can I do it? :rolleyes:
I am trying to pass values from a datagrid to form
In the datagrid page I did this
<asp:HyperLinkColumn Text="Edit" DataNavigateUrlField="ItemNo" DataNavigateUrlFormatString="ItemsDetails.aspx?ItemNo={0}" DataTextField="ItemNo" HeaderText="Settings"></asp:HyperLinkColumn>
And in the form page I did this
Public Sub Page_Load(Source As Object, E As EventArgs)
Response.write(Request.QueryString("ItemNo"))
End Sub
Ok I get the ItemNo in the begining of the form but I want it to appear in a readonly textbox I have txtItemNo.Text
But how can I do it? :rolleyes: