Hello,
I am new to C# and I am looking for some direction on starting a project. I have currently created a project using DataSets but don't know if it is the most effective method of solving my problem. I need some direction on what the guru's would do, here are the following stipulations.
1. I need to create an XML file from data stored in a database
2. I have been given the XSD which should be used to output the the structure of the XML file
Right now I am making a DB connection, reading the XSD file into a DataSet, populating the DataSet, populating various DataAdapters, combining the DataAdapters in DataRelations (which I have yet to get to work correctly) and then using the WriteXML function of the DataSet to write out the XML file. Is this the best method for accomplishing this task? ANy input would be greatly appreciated.
I am new to C# and I am looking for some direction on starting a project. I have currently created a project using DataSets but don't know if it is the most effective method of solving my problem. I need some direction on what the guru's would do, here are the following stipulations.
1. I need to create an XML file from data stored in a database
2. I have been given the XSD which should be used to output the the structure of the XML file
Right now I am making a DB connection, reading the XSD file into a DataSet, populating the DataSet, populating various DataAdapters, combining the DataAdapters in DataRelations (which I have yet to get to work correctly) and then using the WriteXML function of the DataSet to write out the XML file. Is this the best method for accomplishing this task? ANy input would be greatly appreciated.