471,306 Members | 1,334 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

Exporting date from DataTable to Excel-file

Hello everyone,

I would like to export data from a DataTable to an Excel-file. I have
tried this using Interop (with the Microsoft.Interop.Office.Excel.dll)
but that seems to be a hard job.

Does any of you know another way to do this?

If not, I will have to get trough the Interop...

Kind regards,
Dries
Dec 30 '05 #1
1 1405
KJ
You might consider serializing the datatable (or dataset) contents to
xml, then transforming the xml to html, which excel understands (excel
may also understand specific dialects of xml as well).

Dec 31 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by | last post: by
7 posts views Thread by Gal Zilberman | last post: by
4 posts views Thread by Tom | last post: by
reply views Thread by kanepart2 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.