Answers for "c# sql conennection string"

SQL
0

c# sql conennection string

using System.Data.SqlClient;

SqlConnection conn = new SqlConnection();
conn.ConnectionString =
  "Data Source=ServerName;" +
  "Initial Catalog=DataBaseName;" +
  "User id=UserName;" +
  "Password=Secret;";
conn.Open();
Posted by: Guest on March-21-2022

Code answers related to "SQL"

Browse Popular Code Answers by Language