如何在哈希表中保存新项目 [英] How to save new items in hashtable

查看:56
本文介绍了如何在哈希表中保存新项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我有一个哈希表,我在设计过程中有很多名字和数字,但我需要一种方法来保存我在运行后写下的新项目。

谢谢



我尝试了什么:



我尝试过通过收集保存设置并在加载表单时放置代码但是徒劳无功。

Hello
I have a hashtable and there are many names and numbers i put them during the design but i need a way to save new items I write them after run .
thank you

What I have tried:

I tried by savesetting by collection and put the code during loading the form but in vain .

推荐答案

您应该将更新的表数据写入文件并在将来执行时恢复它你的申请。事实上,最好先从文件开始而不是设计时间值。
You should write your updated table data to a file and restore it on future executions of your application. In fact it would be better to start with a file rather than design time values.


这篇关于如何在哈希表中保存新项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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