Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are session state modes? List some of the important session state modes of asp.net.

907


What are the events in a page life cycle?

910


What are the security types in asp.net?

1016


Explain how does asp page work?

968


What is the difference between pathparam and queryparam?

1005


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

1085


What is a master page and what does it do?

891


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

919


Explain the steps to be followed to use passport authentication.

1013


What is the difference between visual basic and asp.net?

992


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

979


What is asp.net response object?

1011


In order to get assembly info which namespace we should import?

955


What is validation in asp.net?

1028


Using code explain Configuration Management

1913