Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can we use the Microsoft API for convert Data Table data to the Excel Sheet?
Posted

You need the tools for office to do that, then you can just read the docs. Or you can try to create XML that's compatible with the newer file format. Those are just XML in a zip.
 
Share this answer
 
As Christian Said you have to create a XML that is compatible with the newer file format.
 
Share this answer
 
If you don't want to use XML as proposed by Christian and Ramalings, try the older way i.e using StreamWriter. Refer Convert DataTable to Excel[^]

Hope this helps !
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900