Exporting Table in a Dataset to Excel

  • Thread starter Thread starter Tor Inge Rislaa
  • Start date Start date
T

Tor Inge Rislaa

I have a need for exporting the content of a table in a DataSet to an Excel
Sheet. Is this possible?

MyDataAdapter.Fill(MyDataSet)
'Something here to export MyDataSet.MyTable to Excel

TIRislaa
 
Hi Tor,

You can do
ds.writeXML(mypath.xml)
And read that file into Excel.

Cor
 

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