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 / vikram

By using Configuration Manager we can get information
<appsetting>
<add key=img
value="data source=......"/>
</appsetting>

we can use appsetting
configurationManager.appsetting["img"]

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 viewstate? What does the “enableviewstate” property do?

919


What is asp.net mvc? : asp.net mvc

1109


Give an example of cookie abuse.

1074


Define the steps to set up validation control.

1041


IN an ASP.NET Web application if there is any error, how can you debug?

1068


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

1042


How can we register exception filter globally?

986


How can you identify that the page is post back?

989


Which property is used to identify the Page is Post Back in ASP.NET?

1018


How do sessions work?

942


Which object encapsulates state or data of a user?

1069


Can we use MSSql as backend in asp.net...if yes then How.?

1039


How to prepare culture-specific formatting in .net.

1027


How we implement web farm and web garden concept in asp.net?

1000


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

1020