We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Export data in excel


Hi,

I want to export a data table in excel using "Syncfusion.XlsIO".

I added the reference to "Suncfusion.XlsIO.Base" in my project.

It works fine on my computer but when I run the exe file on a user computer I get the following message :

-------------

Unhandled exception has occured in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

The type initializer for "Syncfusion.XlsIO.ExcelUtils" threw an exception

--------------

I copied the dll "Syncfusion.XlsIO.Base" in the user folder.

What am I missing ?

Thanks

Phil

1 Reply

GM Geetha M Syncfusion Team April 20, 2010 03:15 AM UTC

Hi Phil,

Thank you for your interest in Syncfusion products.

Essential XlsIO depends on the following assemblies:

Syncfusion.Compression.Base
Syncfusion.Core
Syncfusion.XlsIO.Base

Often, type initializer exception throws if Compression.Base is not added as reference. Could you please include Syncfusion.Compression.Base.dll and try again?

Please let us know if you have any questions.

Regards,
Geetha

Loader.
Live Chat Icon For mobile
Up arrow icon