Combine multiple sources into one dataset
Posted on 2005-05-17
I'm creating a sub routine that will be writing a flat, one row XML file to disk. No relations or parent/child stuff to worry about. There will be a number of different sources for values to be written - a couple different sprocs, as well as local values, Session and Request vars.
This is my first foray into the XML writer and I've reviewed a couple tutorials that are pointing me in the direction of using a DataSet as the source to output the XML from. My thinking at this point is that I'll build the Dataset from the various sources and then dump that to the xml writer.
Given that outline/overview of my intents I'd like to either be re-directed to a different stratagy or pointed to a tutorial or sample code that demonstrates the manual construction of a dataset from a variety of sources.