G Guest Nov 27, 2006 #1 Hi, How can I export data from two different tables to a single XML file. Thanks
T Tor Bådshaug Nov 28, 2006 #2 Using the XML capabilities of the DataSet (WriteXml method) is one (simple) option you may consider. http://msdn2.microsoft.com/en-us/library/system.data.dataset.aspx http://msdn2.microsoft.com/en-us/library/zx8h06sz.aspx Hope it helps Tor Bådshaug tor.badshaug(AT)bekk.no
Using the XML capabilities of the DataSet (WriteXml method) is one (simple) option you may consider. http://msdn2.microsoft.com/en-us/library/system.data.dataset.aspx http://msdn2.microsoft.com/en-us/library/zx8h06sz.aspx Hope it helps Tor Bådshaug tor.badshaug(AT)bekk.no
R Rad [Visual C# MVP] Nov 28, 2006 #3 You can use the Dataset.Merge method to merge the second dataset into the first then the WriteXML method to get it to disk. You will however need to get the schemas to be as close to identical as possible
You can use the Dataset.Merge method to merge the second dataset into the first then the WriteXML method to get it to disk. You will however need to get the schemas to be as close to identical as possible