In the meanwhile, you could create an empty dataset and add your datatable
to it. Then you can call WriteXml on the dataset to serialize it - just a
workaround.
You could do it only through the dataSet. If you need to save only one
DataTable, then you could create a copy of the DataSet, delete all other
tables from it and save DataSet into XML
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.