How do you retrieve information from web.config ?
Answer Posted / sudhir kunnure
In web.congig you can add key and its value.And that key
value u can retrive like
string connectionString =
System.Configuration.ConfigurationSettings.AppSettings
["conStringWeb"].ToString()
Here conStringWeb is my key and i access its value.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is microsoft windows sharepoint services?
Explain About duration in caching technique
How about the security in Activex DLL and Activex EXE ?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
What is AutoEventWireup attribute for ?
Which method is used to perform all validation at the page level?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
If you want to write your own dot net language, what steps you will you take care?
What is a server farm in iis?
COM+ Used ________________ Isolation Level
What are the steps to follow to host a web application on a web server?
What are the security types in ASP/ASP.NET? Different Authentication modes?
how to transfer the file from client to server using asp.net
Explain asp.net application life cycle?
What are directives in asp.net? List down all the important directives.