应用程序中的数据存储 [英] Data storage in application

查看:78
本文介绍了应用程序中的数据存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个我在Microsoft Access中开发的当前应用程序,但现在我想在Visual Studio中使用C#win表单重新执行该应用程序。此应用程序仅适用于单个用户。我的目标是整合一个独立的应用程序,可以在一台PC上安装
。简而言之,用户每周导入csv文件 - 这些文件是相关的,因为与前几周(导入)数据进行了比较。

I have a current application that I developed in Microsoft Access, but now I would like to re-do the application using C# win forms in Visual Studio. This application is only for a single user. My goal is to put together a standalone application that can be installed on a single pc. In a nutshell, the user imports in csv files on a weekly basis - these files are related in the sense that there are comparisons done with the previous weeks (import) data.

第一个区域我需要指导是什么是在win表单应用程序中存储数据的最佳方法?我希望能够在应用程序本身中拥有数据,以便用户不需要在其本地
计算机上安装任何类型的数据库。所以我不确定我是如何做到这一点的,我正在考虑如何在不丢失数据的情况下对应用程序进行更改/错误修复?

The first area I need guidance with is what is the best way of storing the data in a win forms application? I would like to be able to have the data in the application itself so that the user does not need have any type of database installed on their local machine. So I am not sure how I go about doing this and further down the line I am thinking of how I would go about making changes/bug fixes to the application without losing the data?

I非常感谢上述任何建议。

I would appreciate any advice on the above.

最好的问候,

Michael

推荐答案

嗨迈克尔,

数据未存储在"应用程序"中,它必须物理地存储在磁盘驱动器上。无论是在文件中还是在数据库中。由于您以前的应用程序位于Access中,为什么不继续使用Access作为数据存储。所以
你要在Visual Studio中编写一个新的UI(用户界面),而不是使用Access的UI。

The data isn't stored "in the application", it has to be stored physically on a disk drive. Either in files or in a database. Since your previous application was in Access, why don't you just continue to use Access as the storage of the data. So you'd be writing a new UI (User Interface) in Visual Studio rather than the use Access for the UI.


这篇关于应用程序中的数据存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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