AlHal2
asked on
C# windows service to export data table to Excel
I'm writing a windows service using visual Studio 2017 C#. How can I export the contents of a data table to an xlsx file without using any 3rd party utilities except Nuget?
In the past I used the library https://github.com/JanKallman/EPPlus
ASKER
I'm reluctant to use unknown libraries as they may run custom build scripts as per the Visual studio message. Would you be able to extract the relevant code. Alternatively I don't mind using the microsoft.office.interop.E xcel library.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks both.