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.
Unfortunately, activation email could not send to your email. Please try again.

Grid Control export to Excel gives entrypointnotfoundexception

Thread ID:

Created:

Updated:

Platform:

Replies:

104052 Jun 18,2012 11:28 AM Jun 25,2012 03:41 AM Windows Forms 4
loading
Tags: GridControl
Steve Trogal
Asked On June 18, 2012 11:28 AM

I have a gridcontrol and want to export it to Excel.
I get entrypointnotfoundexception when gecc.gridtoexcel tries to execute.
I copied the code from your examples.
 
My code is...

Syncfusion.GridExcelConverter

GridExcelConverterControl gecc = new Syncfusion.GridExcelConverter.GridExcelConverterControl();

SaveFileDialog saveFileDialog = new SaveFileDialog();

saveFileDialog.Filter =

"Files(*.xls)|*.xls";

saveFileDialog.DefaultExt =

".xls";

if (saveFileDialog.ShowDialog() == DialogResult.OK)

{

gecc.GridToExcel(

this.gcReportGrid.Model, saveFileDialog.FileName);

}

I have the ollowing references...

Syncfusion.core, syncfusion.grid.base, syncfusion.grid.windows, Syncfusion.xlsIO.Base, Syncfusion.GrridConverter.Windows, syncfusion.shared.base, syncfusion.sharedwindows.

 

 


Steve Trogal
Replied On June 18, 2012 11:38 AM

Forgot to say, I have also added as a reference Microsoft.office.interop.excel 

Steve Trogal
Replied On June 19, 2012 11:25 AM

This is sorted now.
I was missing the stuff about the ExcelEngine

Jeya Preetha M [Syncfusion]
Replied On June 25, 2012 02:44 AM

Hi Steve,

To export of grid contents to an XLS file as well as the import of XLS file content to a grid control, we have a sample in our dahs board.

Please refer the sample in the following link:

..\..\AppData\Local\Syncfusion\EssentialStudio\{Installed version}\Windows\ Grid.Windows\Samples\2.0\Export\PDF Export Demo

Please let me know if you have any concerns.

 

Regards,

Jeya Preetha M




Jeya Preetha M [Syncfusion]
Replied On June 25, 2012 03:41 AM

Hi Steve,

Please ignore my previous update.

If you face any problem after this, Please let us know.

Regards,

Jeya Preetha M


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;