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 silver light when will we use silver light,
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
How many types of session in ASP.NET
while developing webservices if i want some users to use my webservice only how can i give security to my webservice?
Which is the parent class of the web server control?
Why is the standalone environment only useful during the development process?
How do I publish my asp.net application to my isp's web server?
Why select Web API?
Can the dictionary object be created in client?s scope ?
What are the advantages and limitations of query string?
Which property is used to identify the Page is Post Back in ASP.NET?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
when a request is made in Life cycle of ASP.NET page .
Explain the use of duration attribute of @outputcache page directive.
Define viewstate in .net?