在VS 2010中连接到网络计算机上的数据库 [英] Connecting to a dabase on Network Computer in VS 2010

查看:107
本文介绍了在VS 2010中连接到网络计算机上的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VS2010,我想连接到网络上另一台计算机上的数据库.我该怎么办?
两台计算机都在网络中并且已连接.应该启动什么服务,必须进行什么配置??????????????

I m using VS2010, and i want to connect to a database located on other Computer on network. What should i do ????

Both Computers are in a network and Connected. What services ahould be startes and what configuration has to make ??????????????

推荐答案

我们至少需要语言和数据库名称...

建立这种连接的方法有很多,但是在不了解最低限度的基础上,我们无济于事...

尝试在Google中搜索远程数据库连接"或在此处发布更多详细信息...


好的,现在我们知道您正在使用C#和SQLServer 2008 ...

请确保:
-防火墙不是问题.
-远程服务器中允许连接 [类似的问题并有一些解释 [
We need language and database name at least...

There are plenty of ways to establish this kind of connection, but without knowing the minimal basis we can''t help...

Try to search for "remote database connection" in Google or post more details here...


OK, now that we know that you are using C# and SQLServer 2008...

Be sure that:
- Firewall is not an issue.
- Remote connections are allowed in the server[^].

Take a look here:
A similar problem with some explanations[^].

Hope this helps...


这篇关于在VS 2010中连接到网络计算机上的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆