Webconfig ConnectionString to connect SQL Server 2008 from Visual Studio 2012

纵然是瞬间 提交于 2020-01-06 14:59:10

问题


What is connection string for the following SQL server 2008 properties:

DB Name : testDB


回答1:


Try this connection string:

Server=K-PC;Database=testDB;Trusted_Connection=True;

You can find more details on connection strings in this link: http://www.connectionstrings.com/sql-server/



来源:https://stackoverflow.com/questions/24851744/webconfig-connectionstring-to-connect-sql-server-2008-from-visual-studio-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!