define variable in web.config
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
how to declare a variable in web.confing and how to use that variable into asp.net web application,any example.....?
variable? do you mean something like that: [web.config]
... <appSettings> <add key="myKey" value="myValue"/> </appSettings> ...
[application]string myValue = System.Configuration.ConfigurationSettings.AppSettings["myKey"];
? More on MSDN[^] best regards, David 'DNH' Nohejl Never forget: "Stay kul and happy" (I.A.)