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
Which method is used to enforce garbage collection in .net?
What is css in asp.net?
What is tracing? Where is it used?
How to rename a table using sql queries?
What is enableviewstate in asp net?
How many validators do ASP.NET have?
How to display Alert in ASP.NET
Do you know about caching with the datasource controls?
What are the uses of reflection?
What is application variable in asp.net?
How can we identify that the page is post back in asp net?
What is the use of session?
What are cookies in asp.net?
What's the use of response.output.write()?
What is runat?