S
Sai
Hi all,
I am trying to dump a small SQL Server database (whose structure I will not
know at runtime) into a dataset (structure and data) and then call writexml
on that dataset.
How can I write generic ado based code to dump out the entire database into
a dataset? All the code samples I see assume knowledge of the database
structure and the relationships between the tables. Is there a simple
command I am missing with which I can point a dataset at a database and tell
it populate itself (tables, subtables, Foreign key relations etc.)
Thanks in advance for your help
Sai
I am trying to dump a small SQL Server database (whose structure I will not
know at runtime) into a dataset (structure and data) and then call writexml
on that dataset.
How can I write generic ado based code to dump out the entire database into
a dataset? All the code samples I see assume knowledge of the database
structure and the relationships between the tables. Is there a simple
command I am missing with which I can point a dataset at a database and tell
it populate itself (tables, subtables, Foreign key relations etc.)
Thanks in advance for your help
Sai