Reprinted connection: https://blog.csdn.net/qq_18878481/article/details/79401741
Development Tools: vs 2013 + sql server2008
Preparation work for the first part of the database
1. Start the server (MSSQLSERVER) service, connecting local server if the connection is not on, check
Whether it is running, if there is an error, then check
Whether it is enabled
2. After the connection is successful, their new database, creating tables,
3. Open vs,
Select the connection to the database, find the table to establish their own
3. You can test the connection the first point, there will be a successful test, prove totally OK, no problems! Old iron!
4. Click OK USB icon will appear in the Services Explorer to prove the connection is successful
5. After the establishment of WinForm, you can develop it!
----------------
Disclaimer: This article is CSDN blogger "JouRney Xiangxi Assen" in the original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and link this statement.
Original link: https: //blog.csdn.net/qq_18878481/article/details/79401741