Grid Control export to Excel gives entrypointnotfoundexception

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.

 

 


4 Replies

ST Steve Trogal June 18, 2012 03:38 PM UTC

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


ST Steve Trogal June 19, 2012 03:25 PM UTC

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


JP Jeya Preetha M Syncfusion Team June 25, 2012 06:44 AM UTC

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





JP Jeya Preetha M Syncfusion Team June 25, 2012 07:41 AM UTC

Hi Steve,

Please ignore my previous update.

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

Regards,

Jeya Preetha M


Loader.
Up arrow icon