Possible ? Sure thing! Recommended ? No way! Mainly because .ini files have no definite structure. You might consider simple text based options such as comma or tab separated files, which have slightly more schematic information than .ini files.
On the other hand, XML based data can have predefined structural constraints that must be conformed to, in order for the application to function. If you are going to read flat files, XML is a great option. Also, if your files do not need to be human-readable, you could consider binary .dat files that are deserialized as objects in your application. On Sep 28, 8:26 pm, Benjamine Swee <[email protected]> wrote: > Hi experts, > > I have an .ini file that I need to parse and modify using textboxes and > gridview. Is it possible to do all that in the .ini format? > > I come across a tool on the codeproject that can transform .ini file to .xml > file but the problem of this approach is that I have to tranform the .xml > back to .ini. Is this a recommended approach? > > Thanks, > Newbie.
