Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using configuration variable in the ASPX file
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Using configuration variable in the ASPX file
Versions des environnements
Environment:
ASP.NET
OS:
Windows Server 2003
Database:
MS SQL Server
Divers
Thread ID:
01293962
Message ID:
01293962
Vues:
68
Hi everybody,

I see that we can use variables defined in web.config in the cs files like

this.TimeZone = short.Parse(System.Configuration.ConfigurationSettings.AppSettings["TimeZone"]);

My question is - is it possible to use these variables in the ASPX files? Or any other way to use variables defined somewhere you can suggest?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform