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
Describe paging in asp.net?
Is web config mandatory?
How to manage different kinds of sessions in ASP.NET?
Explain the code Access Security (CAS) in .net Framework?
What is the use of session?
How to reduce the width of textbox in editcommandcolumn of datagrid?
Explain the difference between response.redirect vs server.transfer
What are the different types of validation controls in asp.net?
Explain client side state management system.
What are the session variables?
What is viewstate information stored?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
How ViewstateMac works?
Explain about consistent programming model in the .NET framework?
What is asp.net globalization?