cnranasinghe
.NET / ASP.NET / SQL Server / Developer Express
Total Pageviews
Saturday, July 10, 2010
Read All appsetting on web.config
This will read all appsetting collection on web.config or app.config
NameValueCollection mySettings = System.Configuration.ConfigurationSettings.AppSettings;
string connStr = mySettings["connectionString"];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment