我写了个连接字符串
"server=localhost;integrated security=SSPI;initial catalog=Northwind ",语法应该没问题啊,为什么连接上不?
而我用User ID 和 Password 连接却可以成功
"server=localhost;integrated security=SSPI;initial catalog=Northwind ",语法应该没问题啊,为什么连接上不?
而我用User ID 和 Password 连接却可以成功
好象是(1)WINDOWS模式
(2)混合模式
选则第二个
连接字符串问题
string ConnString="server=localhost;uid=登录SQLSERVER的用;pwd=登录密码;database=数据库名";