How do you retrieve information from web.config ?
Answer Posted / sam
using ConfigurationManager, Configuration classes
Example
ConfigurationManager.ConnectionStrings
["str"].ConnectionString;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you explain page lifecycle in net?
Explain about Multi-Language integration?
What are Authentication and Authorization?
What is the difference between the asp and asp.net?
What are the features of asp.net mvc?
Why the javascript validation not run on the asp.net button but run successfully on the html button?
How you will improve web application performance?
Explain authorization levels in .net ?
Describe the disadvantage of cookies.
What is session mode in asp.net?
What is the difference between client-side and server-side validations in ASP.NET?
What is caching? Explain.
What is webresource axd?
What are the different types of cookies in asp.net?
What is class and object in asp.net?