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 is the main function of url routing system in asp.net mvc? : asp.net mvc
What is cookies cache and session?
Define tracing.
Define session in asp.net.
Explain the boxing and unboxing concept in .net?
Who generates session id?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What are Master Pages in ASP.NET? or What is a Master Page?
What is the meaning of TestApi?
How to deploy/publish webservices?How many ways?Plz explain me
Explain diff. Betn dataset and recordset?
Define xmlreader class.
What are the asp.net 2.0 features?
Briefly describe the role of global.asax?
What is difference between asp.net and asp?