Kết nối bằng quyền Windows:
string m_ConnectString = "Data Source=" + "servername" + ";Initial Catalog=" + "databasename" + ";Integrated Security=True;";
Kết nối bằng quyền User:
string m_ConnectString = "Data Source=" + "servername" + ";Initial Catalog=" + "databasename" + ";User Id=" + "username" + ";Password=" + "pasword" + ";";
Nosomovo