如何开发c#.net桌面基础软件?

发布于 2024-08-13 04:53:32 字数 371 浏览 3 评论 0原文

我必须在 C#.Net 中开发桌面基础软件,该软件仅生成报告,并且该报告可以导出为任何格式。该软件将转储到 CD/DVD 中并分发给所有客户,他们将其安装在自己的 PC(独立 PC)上。这将是安装程序,客户可以自己安装。

我的问题是我应该选择哪个数据库来构建它,因为该软件将由第三方安装。因此,当安装它时,数据库应该自行安装,所有数据都应该导入到数据库中。

第二,我必须向他们发送每月数据(导出的数据库),然后他们将复制/粘贴到特定文件夹中,然后系统本身导入它。 (除了我的开发软件之外,给定的文件(数据文件)不应该打开/读取。

如果是,那么可以吗?

请指导我,因为我是 VS 领域的新人,但我在 Oracle 中有超过 8 年的编程经验并在爪哇学习了 3 个月。

i have to develop desktop base software in C#.Net which only produces reports and that reports can be export to any format. that software will be dump into CD/DVD and distributed to all clients and they will install it in their PC (Stand Alon PC). and that will be installer, client can install it himself.

My problem is which database i should choose to build it because this software will be installed by third person. so when one install it database should be install itself, all the data should be in imported into database.

2nd i have to send them month wise data (database exported) which then they will copy/past in specific folder and system itself import it. (that given file (data file) should not be open/read other than my develop software.

is it possible if yes then HOW?

please guide me as i am new comer in VS field but i have programming experience more than 8 years in oracle and 3 months in Java.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我只土不豪 2024-08-20 04:53:32

这并非不可能做到。

听起来您希望用户应用程序仅与您托管的数据库进行交互。这应该不难,因为几乎所有流行的数据库都有 ADO.net 连接器。

我建议简单地使用 MySQL、ADO.Net 连接器,并在程序中使用数据集来读取和编辑数据。

所有客户端应用程序只需连接到您托管中央数据库的 IP 地址,它们就可以立即访问所有这些数据。

如果您在应用程序开发方面经验不足,那么您或您的公司可能值得聘请一名工人来完成此应用程序。

更新

关于您的客户端要求的更新,听起来您应该尝试连接到存储在客户端计算机上的 SQL 文件。这非常简单,并且 MSVC# 已预安装 ADO 连接器。然后,您必须编写应用程序的另一部分来每月执行“更新”。您说您需要每月向客户提供一次新数据。只需让程序(当它们启动时)检查日期,如果需要,连接到 FTP 站点并将文件下载到客户端计算机。

更新二啊

,好吧。这让事情再次变得不同。不过,这更容易。您可以让您的应用程序直接从 CD 读取数据库文件,然后您可以将其邮寄给人们。如果需要安全,您应该使用某种 PKI 风格的加密。但是,由于安全要求的性质,我强烈建议您与具有加密经验的人签约,因为如果您以错误的方式实施某些操作,则可能会暴露数据,这将是不好的:)

This isn't impossible to do.

It sounds like you're wanting users applications to simply interact with a DB that you host. That shouldn't be hard, as there are ADO.net connectors for just about all the popular DBs out there.

I'd suggest simply going with MySQL, ADO.Net connector, and use datasets in your program to read and edit data.

All the client applications would just have to connect to your IP address where you're hosting the central DB and they'd instantly have access to all of that data.

If you're not very experienced in application development, it may be worth it for you or your company to contract a worker to complete this application.

Update

In regards to the update about your client requirements, it sounds like instead you should try connecting to an SQL file that is stored on the client machine. This is EXTREMELY simple to do, and MSVC# has the ADO connector preinstalled. Then, you would have to write another part of the app to perform "updates" every month. You said you need to deliver new data to the customers once a month. Just make the program (when they start it up) check the date, and if required, connect to an FTP site and just download the file to the client machine.

Update II

Ah, ok. That makes things different yet again. This is easier, though. You can make your application read a Database file directly from a CD, which you can mail to people. You should use some sort of PKI style encryption if it needs to be secure. However, due to the nature of the security requirements, I would STRONGLY suggest you contract to someone with experience with encryption, because if you implement something the wrong way, you can expose the data which would be bad :)

人生戏 2024-08-20 04:53:32

我会使用加密的 SQLite 文件。

I would use an encrypted SQLite file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文