How export datatable to XML?

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

I know you can do a WriteXml on a dataset. Is there an equivalent for a
datatable?

Thanks.
 
Hi,

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.

Ask a Question

Back
Top