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"];
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)