Hi all,
I am trying to dump a SQL Server CE database (whose structure I will not
know at runtime) into a dataset and then perform a writexml on that dataset.
The desktop application will have the smarts to process this dataset xml but
not the pocket pc application dumping out the xml.
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.)
(Merge replication and RDA are not options since my desktop database could
be access or sql server)
Thanks in advance for your help
Sai