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
How can we pass info between 2 asp.net pages?
What is asp.net used for?
What is the use of placeholder control? Can we see it at runtime?
What are navigation controls? How many navigation controls are there in ASP.NET 4.0?
Define page fragment caching?
How to find out what version of asp.net I am using on my machine?
What is the main difference between Asp.net and Vb.net?
Explain the asp.net page life cycle.
Why session is used in asp.net?
What is the Intermittent crashing of application in production?
when a request is made in Life cycle of ASP.NET page .
What is the function of the ViewState property?
What is .net framework and what are the main components of it?
What is skin in asp.net?
What do you mean by caching in asp.net?