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
 
Back
Top