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...

How do you retrieve information from web.config ?

Answer Posted / sam

using ConfigurationManager, Configuration classes
Example
ConfigurationManager.ConnectionStrings
["str"].ConnectionString;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is authorization in asp.net?

1127


How to display Alert in ASP.NET

1254


What is Web Server Control Templates.?

1111


Difference between overriding and overloading?

1355


How many types of sessions in asp.net?

1159


What is viewstategenerator?

1265


Why and where this web.config file is used?

1133


What are the advantages of using session?

943


What are the advantages of the code-behind feature?

1045


Which method do you use to kill explicitly a users session?

1099


What is session mode in asp.net?

1092


Define repository pattern in asp.net mvc? : asp.net mvc

1049


How Can assign alias name for ASP.NET Web API Action?

1515


Why we use asp.net for website development?

955


What is viewstate parameter?

998