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 to Excel

Hi!
Is there any way to export GridControl (v. 3.3.0) to Excel?

Thank you.

5 Replies

HA haneefm Syncfusion Team March 28, 2007 08:06 PM UTC

Hi Andrey,

The Excel Export browser ( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Windows\Samples\Serialization\ExcelExport_GridControl\ ) sample demonstrates the conversion of contents in a GridControl to an xls file and also the conversion of contents in an xls file to a gridControl. XlsIO libraries are used to support the conversion of grid contents to excel. The dlls that these depend on are Syncfusion.XlsIO.Base and Syncfusion.GridConverter.Windows.

Syncfusion.GridExcelConverter.GridExcelConverterControl gecc = new Syncfusion.GridExcelConverter.GridExcelConverterControl();
gecc.GridToExcel(this.gridControl1.Model, "FileName");

Best Regards,
Haneef


AG Andrey Gruber March 28, 2007 08:19 PM UTC

Hi, Haneef!
Our version is 3.3.0 :(:(:(


HA haneefm Syncfusion Team March 28, 2007 08:46 PM UTC

Hi Andrey,

Please refer this.


Best regards,
Haneef


HA haneefm Syncfusion Team March 28, 2007 10:38 PM UTC

Hi Andrey,

Please refer this.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=28330

Best regards,
Haneef


AG Andrey Gruber March 29, 2007 09:33 AM UTC

Hi, Haneef!
With few changes (our project specific) it works fine.
Thank you!

Loader.
Live Chat Icon For mobile
Up arrow icon