Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture a prior form value
Message
From
14/05/2008 11:58:14
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01317012
Message ID:
01317028
Views:
9
OK, how do you do that?
Like I said, I'm a total newbie.
Currently I have this in the gridview select
    Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged
        Response.Redirect("edituser.aspx")
    End Sub
:)

>One of the way would be to pass the ID of the selected record as a QueryString.
>
>>As a .NET total newbie, can someone tell me how to capture a value from the preceeding page control? Something like :
>>
>>myvalue = request.gridview1.value    ???
>>
>>
>>And would the code properly be placed in the load event of the second page if we wanted to use the value to establish a control on the new page?
>>
>>Specifically, page1 has a grid where the user selects a record. Control is then transferred to page2 which contains a formview that displays the record details.
>>
>>
>>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform