D
David Webb
Hi,
What is the easiest way to output the contents of a datareader into an
XML file? I have an SQLCe Database and need to export the contents of
each table (forward only) to a single XML file. Each table has about 3
fields in it, so I want the XML to have the TableName, followed by the
3 fields of data. Therefore, the XML file will ultimately contain 6
tables each containing 3 fields with perhaps 20 rows of data.
I just need to read a table, append to the XML, read a table, append
to the XML etc....
Any simple code snippets would be greatly appreciated.
Many thanks in advance for your assistance.
Kind Regards,
David.
What is the easiest way to output the contents of a datareader into an
XML file? I have an SQLCe Database and need to export the contents of
each table (forward only) to a single XML file. Each table has about 3
fields in it, so I want the XML to have the TableName, followed by the
3 fields of data. Therefore, the XML file will ultimately contain 6
tables each containing 3 fields with perhaps 20 rows of data.
I just need to read a table, append to the XML, read a table, append
to the XML etc....
Any simple code snippets would be greatly appreciated.
Many thanks in advance for your assistance.
Kind Regards,
David.