How do i read the information from web.config file?

Questions by surynisa   answers by surynisa

Showing Answers 1 - 3 of 3 Answers

pathipati

  • Feb 26th, 2006
 

by Using

 System.Configuration.ConfigurationSettings

  Was this answer useful?  Yes

Dilip Choudhary

  • Mar 10th, 2006
 

string ConStrFromWeb=System.Configuration.ConfigurationSettings.AppSettings["ConStringKey"];

// Here ConStringKey is the key name of connection string in web.config

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions