且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Visual Studio 2012连接到我的Sql Server Express服务器

更新时间:2023-02-04 08:04:26

:笑:

这不太明显,不是吗?

在问题的第二阶段,当你有这个图像时显示:

http://snap.ashampoo.com/uploads/ 2014-02-23 / ZLyF8Zhh.png [ ^ ]通过单击右端的向下箭头打开下拉列表。将会有一个短暂延迟并且它将打开,您将看到可用的SQL Server实例。

可能您需要类似 YOURPCNAME \SQLEXPRESS

从那里很明显。



但是,我不认为你 可以 从那里创建一个新的数据库 - 使用SQL Server Management Studio(使用SQL Server Express安装并作为单独的应用程序运行)更容易
:laugh:
It's not too obvious, is it?
In the second stage of your question, when you have this image showing:
http://snap.ashampoo.com/uploads/2014-02-23/ZLyF8Zhh.png[^] open the drop-down by clicking the down arrow at the right hand end. There will be a "short delay" and the it will open, and you will see the available SQL Server instances.
Probably, you want something like YOURPCNAME\SQLEXPRESS
It's pretty obvious from there.

However, I don't think you can create a new DB from there - it's easier to use SQL Server Management Studio (which installs with SQL Server Express and runs as a separate application)