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
What kind of data can be stored in viewstate?
How can we prepairing Interview
What is latest version of asp.net mvc? : Asp.Net MVC
what is publisher?
What is active web pages?
3. What goals do you have in your career?
What are web server controls in asp.net?
What is recordset asp?
What are directives in asp.net?
Explain the Session state management options available with ASP.NET?
Which is better php or asp.net?
What r the asp.net list controls and difference between them?
What is the advantage of mvc over asp.net? : Asp.Net MVC
How can you handle errors in Web API?
What is strong-typing versus weak-typing?