Return to Snippet

Revision: 13736
at May 4, 2009 13:41 by jink


Initial Code
WebConfigurationManager.ConnectionStrings["SERVERNAME"].ConnectionString;

Initial URL

                                

Initial Description
Replace *SERVERNAME* with the name of the server name in the web.config

Initial Title
ASP.net: Retrieve connection string from web.config

Initial Tags
sql, aspnet

Initial Language
ASP