XML from Dataset

extraordinare

Member
Joined
Oct 4, 2005
Messages
11
Location
Orlando, FL
Programming Experience
Beginner
I am planning to write a small reservation application. One of the features I would like it to have is to save a local copy of a database that I have created as an XML file. I have done some research and I believe what I would need is multiple files. The XML Schema and an XML for each table in the database. What is the method for writing a displaying a database as an XML file. If this sounds like a newbie question it is as to the fact that I have only been programming as a hobbie for about a couple of months now. Sorry if it sounds dumb.
 
I'm not sure what kulrom's project contains as I haven't looked. I suspect that it does exactly what I'm going to suggest but anyway, once you have any or all of your database contained in a single DataSet you can simply call its WriteXml method to create a single XML file. You would then call ReadXml to recreate the DataSet from the XML file.
 
Back
Top