where is declare global variable in asp.net and what is use
of global variable
Answer Posted / sridhar
ou can use web.config to store global varriables
<appSettings>
<!-- Generic Settings -->
<add key="PDFBaseDir" value="\\server\pdfs\"/>
</appSettings>
PDFBaseDir Can be used across application
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is custom events? How to create it?
What is scope of an application variable in asp.net?
In order to get assembly info which namespace we should import?
Why we use content place holder in asp.net?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What is a 404 redirect?
Explain what does mvc represent in asp.net? : asp.net mvc
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
What are the components of ado.net?
Define data caching?
What are the difference between function and stored procedure in .net programming language?
What do you understand by aggregate dependency?
What is full trust in asp.net?
Can I tap into other windows livetm services?
Define a multilingual website?