lugos Posted December 24, 2008 Share Posted December 24, 2008 Hello,I have a DataSet object with data organized in a specific way. Is there an easy way to reorganize that data? For instance, I thought maybe I could create an XML schema file to define how I want to see the data and then read that into the DataSet. But as I thought about it some more, I'm not sure that will work.Any assistance would be greatly appreciated. Link to comment Share on other sites More sharing options...
jesh Posted December 29, 2008 Share Posted December 29, 2008 You could serialize the DataSet into XML and then transform that XML into different XML using XSL and then create a new DataSet from that new XML. Serialize DataSet to XML:http://msdn.microsoft.com/en-us/library/sy...t.writexml.aspxXSL Transformation:http://msdn.microsoft.com/en-us/library/sy...dtransform.aspxLoad DataSet from XML:http://msdn.microsoft.com/en-us/library/sy...et.readxml.aspx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.