且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C#桌面应用程序问题

更新时间:2023-02-07 19:57:45

您将数据库放置在中间服务器上.

如Simple.v所述,您将需要创建程序的int安装程序.但是,如果您的用户未在系统上安装数据库,则还必须安装该数据库,方法是告诉用户必须安装该数据库,或者以编程方式自行安装该数据库(如果您使用的数据库版本与
you place the database on a central server..


As Simple.v says you''ll need to do create the int the installer of your program. But if your users do not have a database installed on your system you''ll also have to install that one, either by telling the user they have to install it or installing a it yourself programmaticly, if your database comes in a version and with a license that allows it.


在Windows应用程序中,您需要使用项目安装程序类.
在该类中,您需要在安装时编写用于在本地系统中创建数据库的代码.
In windows application you need to take project installer class.
In that class you need to write the code for creation of database in local system while installing.


对此的***解决方案是使用SQlite,它完全用于您的目的.寻找.而且它产生的文件很小,因此很容易快速下载
the best solution to this would be to use SQlite, it is used alot for exactly the purpose your looking for. Also the files it produce''s are very small and therefore easily downloaded quickly