Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

read connection string from web config using C#

using System.Configuration;


string conn = ConfigurationManager.ConnectionStrings["ConStringName"].ToString();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #connection #string #web #config
ADD COMMENT
Topic
Name
5+8 =