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 difference between the response.write() and response.output.write() methods?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
Define reflection in .net?
What is new asp.net core?
Explain the difference between inline and code behind - which is best in?
Explain about Automatic resource management?
Explain the asp.net mvc folder conventions? : asp.net mvc
What do you mean by role-based security?
Is post back in asp.net?
How to find last error which occurred in Asp.net ?
Difference between using directive vs using statement?
What do you mean by View State and what is its role?
What are the file extensions for razor views?
how to write html code with ssl
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?