Answers for "get connection string from web.config in c#"

C#
0

get connectionstring from web config c#

// Add a using directive at the top of your code file    
using System.Configuration;

// Within the code body set your variable    
string cs = ConfigurationManager.ConnectionStrings["connectionStringName"].ConnectionString;
Posted by: Guest on August-15-2020
1

get connection string from web.config in c#

get connection string
Posted by: Guest on September-09-2020

Code answers related to "get connection string from web.config in c#"

C# Answers by Framework

Browse Popular Code Answers by Language