Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set a private variable?
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01344645
Message ID:
01344941
Vues:
12
>>If there is a postback between receiving this variable and retriving it, then it would be lost and you need to save it either in ViewState or in Session or in Cockie. Otherwise you can use a class variable declared on the class level.
>
>I ended up using Session variable. So far, in my testing, it works. I sent update to the customer for testing too.
>
>Thank you.

Probably ViewState would be easier.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform