Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture a prior form value
Message
De
14/05/2008 11:54:09
 
 
À
14/05/2008 11:42:08
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01317012
Message ID:
01317024
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform