Windows表单应用程序 [英] Windows form application
问题描述
大家好。
我要开发一个Windows应用程序来管理库存。
我需要为这个项目创建一个安装文件才能下载另一台PC上的软件,说实话我以前没有发布任何软件。
我相信我可以找到完美的方法,这个软件有一个数据库,我不知道它会是哪种类型是的,在这里我的问题:我应该开发哪种类型的数据库安装在可能没有sql server的目标PC中。
任何人都请指导我。
谢谢< br $> b $ b
我尝试了什么:
我尝试使用sql server数据库所以目标必须具有sql server才能运行应用程序或者
Hello guys.
I’m gonna develop an windows application to manage the inventory.
I need to create a setup file to this project in order to download the software on the other PC, honestly i did not publish any software before.
I believe that I can find out how to do it perfectly, this software has a database that i did not know which type it will be, here my question: which type of database should i develope to be installed in the target PC which may has no sql server.
Anyone please guide me .
Thanks
What I have tried:
I try with sql server database so the target must has sql server in order to run the application or what
推荐答案
对于非服务器数据库,请查看SqLite,Access或SQL Compact。
它们都是单用户数据库 - 对于多个用户,你需要一个基于服务器的系统。
一旦你这样做,安装程序(无论你使用哪一个)都将为你管理所需的程序集。
For a non-server DB, look at SqLite, Access, or SQL Compact.
They are all single user DB's - for multiple users, you do need a server based system.
Once you do that, the installer (whichever one you use) will manage the required Assemblies for you.
这是一个有趣的 Inno Setup 安装程序,它将安装所有必需的先决条件,包括SQL Server Express或紧凑:模块化InnoSetup依赖安装 [ ^ ]
就个人而言,我不建议将SQL Server添加到安装程序,因为它不适合轻松部署,其他数据库如PostgreSQL或SQLite更适合。
Here is an interesting Inno Setup installer that will install all needed prerequisites, including SQL Server Express or Compact: Modular InnoSetup Dependency Installer[^]
Personally I wouldn't recommend adding SQL Server to your installer, as it is not really suited for easy deployment, other databases like PostgreSQL or SQLite are much more suitable.
这篇关于Windows表单应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!