Jul 30, 2010

Sql connection string for Sql authentication

Sql connection



string strConnection = "Data Source=system_name;Initial Catalog=DBname;User ID=username;Password='password';";

 SqlConnection objConnection = new SqlConnection(strConnection);

No comments:

Post a Comment