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 the use of session in web application?
How to implement form based authentication in asp.net application?
What is session start?
How to Separate background image and front image from original picture....
What is session id in web application?
Describe Segmentation With Paging?
What is _viewstart?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
What are server objects?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What is a server farm in iis?
Why do we use datasource in asp.net?
What is ispostback method in asp.net?
Is it true that a Web service must be written in .NET or not?
What is content place holder?