65.9K
CodeProject is changing. Read more.
Home

Get DataBase Connection Strings in Easy Way

starIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

1.00/5 (2 votes)

Mar 2, 2011

CPOL
viewsIcon

8580

I get it from the web.config via ConfigurationManager.ConnectionStrings;This makes it possible to keep all connectionstring settings in the web.config file.For example: http://www.dreamincode.net/code/snippet1676.htm[^].

I get it from the web.config via ConfigurationManager.ConnectionStrings; This makes it possible to keep all connectionstring settings in the web.config file. For example: http://www.dreamincode.net/code/snippet1676.htm[^].