vs-2010中如何连接数据库SQL Windows身份验证 [英] how to connect database SQL windows authentication in vs-2010
本文介绍了vs-2010中如何连接数据库SQL Windows身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在vs-2010中连接数据库SQL Windows身份验证
how to connect database SQL windows authentication in vs-2010
推荐答案
这些链接可能对您有所帮助
http://msdn.microsoft.com/en-us/library/ff647396.aspx [ ^ ]
http://forums.iis.net/p/1183327/2003302.aspx [ ^ ]
http://stackoverflow.com/Problems/2244825/how-to-to-connect-to-sql-server-with-windows-authentication-from-windows-service [
These links may helpful to you
http://msdn.microsoft.com/en-us/library/ff647396.aspx[^]
http://forums.iis.net/p/1183327/2003302.aspx[^]
http://stackoverflow.com/questions/2244825/how-to-connect-to-sql-server-with-windows-authentication-from-windows-service[^]
Thanks
SP
使用以下连接字符串
use the below connection string
Data Source=.\SQLExpress;Integrated Security=true; AttachDbFilename=|DataDirectory|\mydb.mdf;User Instance=true;
另请参阅此链接
http://connectionstrings.com/sql-server-2008 [
See this link also
http://connectionstrings.com/sql-server-2008[^]
Thanks
--RA
这篇关于vs-2010中如何连接数据库SQL Windows身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文