我来自http://www.codeproject.com/Articles/739232/Csharp-WPF-Dependency-Injection-Data-Demo关于DI的文章。但首先我需要创建一个数据库,我按照所有步骤加载xml,更改了服务器名称并安装了新的SQL SERVER Tools update
但它仍然说unable to connect to the target server
。
我错过了什么吗?
答案 0 :(得分:2)
点击View
- > Server Explorer
- >选择Data Connection
并选择Add Connection
:
然后选择Microsoft SQL Server数据库文件并单击Continue
按钮:
并单击OK
,将创建您的本地数据库。