Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture a prior form value
Message
From
14/05/2008 11:54:09
 
 
To
14/05/2008 11:42:08
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01317012
Message ID:
01317024
Views:
13
In the first page:
Session("MyValueName") = myvalue
In load of the second page:
myvalue = DirectCast(Session("MyValueName"), myvaluetype)
>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