Click here to Skip to main content
15,891,184 members
Articles / .NET

Get DataBase Connection Strings in Easy Way

Rate me:
Please Sign up or sign in to vote.
1.00/5 (2 votes)
3 Mar 2011CPOL 8.3K   2  
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[^].

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer freelance
Denmark Denmark
This member doesn't quite have enough reputation to be able to display their biography and homepage.

Comments and Discussions