Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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.
Posted 18-Dec-12 7:22am
Comments
Zoltán Zörgő at 18-Dec-12 13:36pm
   
And your question is ....?
OriginalGriff at 18-Dec-12 14:05pm
   
This is not a good question - we cannot work out from that little what you are trying to do. Remember that we can't see your screen, access your HDD, or read your mind. As it is, we don't know what you need help with, or what you have tried! Use the "Improve question" widget to edit your question and provide better information.
Sergey Alexandrovich Kryukov at 18-Dec-12 15:15pm
   
I can help you with INI files; they are easy to work with, but — why? They are obsolete and generally not so good. Is it a legacy problem? Why not using XML or JSON? There are ready-to-use Data Contract where you don't have to work with XML or JSON manually, you just store and load/restore your whole data object graph. —SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 529
1 OriginalGriff 307
2 Damith Weerasinghe 295
3 ravikhoda 260
4 Tadit Dash 180
0 Sergey Alexandrovich Kryukov 10,974
1 OriginalGriff 6,667
2 Peter Leow 4,760
3 Abhinav S 3,813
4 Maciej Los 3,565


Advertise | Privacy | Mobile
Web03 | 2.8.140421.2 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid