如何在没有数据库的情况下保存一些变量 [英] how to save some variables permently w/o database
本文介绍了如何在没有数据库的情况下保存一些变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们,
我制作一个小应用程序,它只是从硬盘上传到服务器的文件,我有8个不同的位置,每个位置都有点改变文件,如
LOC01
LOC04等
这里我想要的应用程序安装用户可以第一次手动添加文件名。
所以如何使用任何数据库存储此文件名...感谢您的帮助
dear Friends,
I make a small application which is just upload file from hard disk to Server, i have 8 different locations and every location little bit change file like
LOC01
LOC04 etc
Here i want when the application installed user can add manually file name for the first time.
so how can i store this file name w/o using any data base .. thanks for your help
推荐答案
您可以将此信息存储在文件适当的位置或注册表中。就个人而言,我更喜欢文件选项,因为它更灵活。
You can either store this information in a file somewhere appropriate or in the registry. Personally, I like the file option better as it''s more flexible.
这篇关于如何在没有数据库的情况下保存一些变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文