我们可以在ASP.NET中查看本地MS-SQL服务器的任何数据库吗? [英] Can we view any database of local MS-SQL server in ASP.NET?

查看:83
本文介绍了我们可以在ASP.NET中查看本地MS-SQL服务器的任何数据库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在Asp.net中查看本地Ms-Sql Server的任何数据库。如果Asp.net上传到网络(互联网)和计算机上的MS-SQL。可能吗 ?如果是的话请帮助我。我是全新的。



我尝试过:



i得到错误



<<<您要查找的资源已被删除,名称已更改或暂时不可用。 >>>



可能是我错了。

Can we View Any Database of Local Ms-Sql Server in Asp.net. if Asp.net is uploaded on the net.(internet) and MS-SQL on the computer. Is it possible ? if yes please do help me. i am totally new to it.

What I have tried:

i am getting error as

<<< The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. >>>

May be i am wrong .

推荐答案

你的服务器代码可以' t访问客户端上的资源。唯一可能的方法是,如果您获得了客户端的IP地址并使用连接字符串中的IP连接到数据库,但这将要求数据库在互联网上公开可见,这是不太可能的。此外,客户的IP地址可能不是实际的客户端,尤其是在互联网上。
Your server code can't access resources on the client. The only way this would be possible is if you got the IP address of the client and connected to the database using the IP in the connection string, but that would require the database to be publically visible on the internet which will be fairly unlikely. Also the IP address of the client may not be the actual client, especially over the internet.


这篇关于我们可以在ASP.NET中查看本地MS-SQL服务器的任何数据库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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