connectionstring to localhost [英] connectionstring to localhost
本文介绍了connectionstring to localhost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi,
我正在使用此连接连接到公司的远程sql server,我想知道如何使用相同的连接到本地PC上的sql server express?
I am using this connection to connect to remote sql server at the company and i want to know how can i use the same to connect to sql server express on local PC?
Code Snippet
推荐答案
试试这个:
数据源= localhost \sqlexpress;初始目录= myDataBase; Integrated Security = True;
Data Source=localhost\sqlexpress;Initial Catalog=myDataBase;Integrated Security=True;
这篇关于connectionstring to localhost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文