[英]DO I need to setup sql server in a computer to run c# desktop application file made in vs 10?
我有一个使用SQL Server 8在vs 10中制作的桌面应用程序。我已经在项目的app_code文件夹中添加了mdf文件,并且app.config进行了相应更改。该应用程序已发布,并且可以作为安装文件(.exe)使用。我想将其安装在另一台PC中,是否需要在该PC中安装sql server?
The short answer is Yes 简短的答案是
The idea is database needs a server to host it and an engine to run it 这个想法是数据库需要一个服务器来托管它,并需要一个引擎来运行它
mdf file has no value without sql serve and access files has nothing to do if you don't have MS Access installed, etc. 如果没有安装SQL Access,则mdf文件没有价值,如果没有安装MS Access,则访问文件无关。
But this does not mean db server must be installed on the client machine that has the application. 但这并不意味着必须在具有该应用程序的客户端计算机上安装数据库服务器。 as it can be on another machine or on the cloud (ie hosted on the internet)
因为它可以在另一台机器上或在云上(即托管在互联网上)
As long as your application is connecting to that machine/server 只要您的应用程序连接到该计算机/服务器
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.