Skip to content

Generating XML from SQL Database

This sample shows how you can obtain a Dataset from (in this case) a SQL Server database, and then write it out to an XML Document. As an Extra Added Bonus(tm), it can show you how to write the schema as well.

The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Generating XML from SQL Database