How do you retrieve information from web.config ?
Answer Posted / sudhir kunnure
In web.congig you can add key and its value.And that key
value u can retrive like
string connectionString =
System.Configuration.ConfigurationSettings.AppSettings
["conStringWeb"].ToString()
Here conStringWeb is my key and i access its value.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the significance of ASP.NET routing?
Why does my asp.net file have multiple tag with runat=server?
Write some code using interfaces, virtual methods, and an abstract class`
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
What is app_code folder in asp net?
what is meant by sitemapnode ?
Describe the method to create a permanent cookie?
What do you understand by aggregate dependency?
What is the difference between a cookie and a pixel?
What are the new data controls in asp.net 2.0?
What are httphandlers and httpmodules and difference between them?
What are the advantages of Web API?
What is a web api?