Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #conennection #string
ADD COMMENT
Topic
Name
7+9 =