连接到远程数据库.mdf [英] connect to remote database .mdf
本文介绍了连接到远程数据库.mdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
1个数据库无法打开
2错误26
我使用虚拟机模拟局域网并使用Windows XP SERVISE2
我设置了一个项目并将其安装在2个Windows中
我认为我的问题来自我的连接字符串;
我的联系是:
SqlConnection("Data Source =.\\ SQLEXPRESS; AttachDbFilename =" + Sourcelocationtxt.Text +"\\ Database1.mdf; Integrated Security = True; User Instance = True");
是真的吗???????
您向我推荐的连接字符串是什么?
您可以为我键入一个真实的连接字符串吗?
谢谢你
我很着急
解决方案
如果您是sql的新手,这是一个不错的网站.
http://www.asp.net/sql-server/videos [ is it true???????
what you recommend me to connection string?
can you type for me a true connection string?
thank''s as you
I very hurry解决方案If you are new to sql this is a good site.
http://www.asp.net/sql-server/videos[^]
这篇关于连接到远程数据库.mdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文