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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Export a Virtusal grid To Excel

Thread ID:





62463 Jun 15,2007 10:35 AM UTC Jun 18,2007 06:27 PM UTC WinForms 3
Tags: GridControl
Asked On June 15, 2007 10:35 AM UTC

Could somebody tell me how to export a virtual grid to excel?



haneefm [Syncfusion]
Replied On June 15, 2007 04:32 PM UTC

Hi Erwin,

The Excel Export browser ( \Syncfusion\Essential Studio\\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. Here is a code snippet to show this.

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

Best Regards,

Replied On June 18, 2007 12:19 PM UTC

The problem is that we don't use the Model. We fill the data structure on demand

Regards Erwin

haneefm [Syncfusion]
Replied On June 18, 2007 06:27 PM UTC

Hi Erwin,

Here is a minimal sample that show you "How to export the data from virtual grid to excel?". Please refer to the attached sample for implementation and let me know if this helps.

Best regards,


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon