原来设置为:
1 SqlConnection myConnection = new SqlConnection("server=(local)\NetSDK;database=pubs;Trusted_Connection=yes")
报错:
![]()
![]()
![]()

连接设置改为
SqlConnection myConnection = new SqlConnection("server=Net;database=Pubs;uid=sa;pwd='')
正常,没有想到是为什????












原来设置为:
1 SqlConnection myConnection = new SqlConnection("server=(local)\NetSDK;database=pubs;Trusted_Connection=yes")
报错:
![]()
![]()
![]()

连接设置改为
SqlConnection myConnection = new SqlConnection("server=Net;database=Pubs;uid=sa;pwd='')
正常,没有想到是为什????
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。