在WPF C#中保存/加载数据(VS 2017)
我是初学者,我正在开发一个简单的应用程序,用户可以输入患者姓名和特定人物的一些细节 - 蛋白质摄入量,体重等。
I am a beginner developer, I am working on a simple app where the user can enter patient name and some specifics for that particular person - protein intake, weight etc.
当点击保存按钮时,所有数据都会保存/存储在某个地方(本地),并且会有这些患者的数据库,这样当你想继续工作或编辑某人,你只需点击打开并从数据库中选择一个名称,并且
将存在所有存储的值(蛋白质,重量等)。您可以编辑值,点击保存并保存。然后你可以打开另一个病人并编辑他的值并点击保存,等等。
When clicking on the save button, all the data would be save/stored somewhere (locally) and there would a database of these patients, so that when you want to continue working or editing someone, you would just hit Open and choose a name from the database and all the stored values (protein, weight, etc) will be there. You can the edit the values, hit Save and it is saved. You can then open another patient and edit his values and hit Save, etc
如何以简单的方式实现这一目标?
How can I achieve this in a simple way?
非常感谢您的帮助
Thank you very much for any help
你好,你创建了您的项目的数据库?如果是,您可以在这里分享吗?
Hello,have you created the database for your project?and if yes,can you share it here?