关于INI文件的读写 [英] Regarding INI file reading and writing

查看:122
本文介绍了关于INI文件的读写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些不同的.dat文件。我必须从我的UI页面制作有效性文件。但问题是有些参数具有不同的值格式.dat文件的逻辑彼此不同。所以我可以设置catogeries参数有参数值和读取布局新的有效性.dat是通过UI屏幕创建的,该屏幕遵循该文件的相同逻辑。意味着我必须使用INI文件制作具有相同格式但不同值的文件的副本。

i have some differnt validity .dat files. i have to make the validity files from my UI page. but the thing is that there are some parameters which are having different value format.the logic of the .dat file is different from each other. so can i set catogeries the parameter which is having parameters value and reading that layout new validity .dat is created via UI screen which shoud follow the same logic for that file. means i have to make a copy of the file with same format but different value using INI file.

推荐答案

代码项目中的这些文章可以帮助您阅读和编写INI文件。



使用C#的INI文件处理类 [ ^ ]

用于C#,VB.NET和VBScript的INI读/写器类 [ ^ ]
These article in code project can help you on reading and writing an INI file.

An INI file handling class using C#[^]
INI Reader / Writer Class for C#, VB.NET, and VBScript[^]


这篇关于关于INI文件的读写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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