You would need to merge the 2.
Way #1 would involve: Reading the xml file on disk into memory in an xml document. Write the DataSet to an xmldocument. Select the nodes from the dataset xml resultant and then merge them. The ugly way to merge them (assuming there is no data overlapthat you have to keep track of) would be to simply get the resultant InnerXml and append that to your other xml document's root node. There may be other complexities involved but hopefully you get the idea.
|