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 virtual directory in asp.net?
Where you store Connection string in "Web.Config" file in ASP.NET?
How would you get asp.net running in apache web servers? Explain it's limitations.
What is asp.net mvc? : asp.net mvc
What are server activated objects?
How we can force all the validation controls to run?
What is a server cookie?
Explain code snippet to register exception filters from controller?
Explain what is clr?
What is the question mark in a url?
Why is global asax is used for?
How to disable disable browser's Back button in asp.net (JavaScript)?
What is the current version of asp.net?
Define satellite assemblies.
What is http post and http get?