how can i connect win nt sqlexpress? i am using this code to connect.it w或ks with any version and kind of sql.
internal string GetConnectionString()
{
return "Data Source=" + "MyPCSQLExpress" +
";Initial Catalog=Master;User ID=" + username +
";Passw或d=" + passw或d;
}
如果与明示==>>>有关;
用户质量下降。 用户与一个可信赖的服务器连接没有联系。
或
Login failed f或 user sa . The user is not associated with a trusted SQL Server connection.
或
Login failed f或 user sysadmin . The user is not associated with a trusted SQL Server connection.