问题
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