How to use XML and the .config file?

updown

Member
Joined
Sep 19, 2002
Messages
12
Hi

Im working on a prog that uses many variables to store configuration data. These variables are mainly boolean and a few strings. Iam using a simple text file with the values stored in lines each line corresponds to a variable.

However I would like to use XML file to store and read those variables.

Can someone give me an hint?...:confused:

Thanks
 
Ah... XML. Fun fun fun. :)

There are several ways you could do this. You could load the data
into a DataSet, or use the XML DOM by using the XmlDocument
object. There is a downloadable example of using the
XmlDocument object here.

Good luck.
 
Back
Top