主题:求助:SQL Server数据库链接问题
SqlConnection myConn=new SqlConnection("Data Source=localhost;Integrated Security:SSPI;Initial Catalog=SmartSchedule");
这个语句有错误吗?
运行时,提示错误信息:
《未处理的“System.ArgumentException”类型的异常出现在 system.data.dll 中。
其他信息: 不支持关键字: “integrated security:sspi;initial catalog”。》
本人刚学C#,请大家多帮忙指点,谢谢啦
[em15]
这个语句有错误吗?
运行时,提示错误信息:
《未处理的“System.ArgumentException”类型的异常出现在 system.data.dll 中。
其他信息: 不支持关键字: “integrated security:sspi;initial catalog”。》
本人刚学C#,请大家多帮忙指点,谢谢啦
[em15]