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

Regarding Importing excel file (with All formulas & macros) in to grid component

Thread ID:





88460 Jul 24,2009 01:58 PM UTC Jul 30,2009 09:50 AM UTC ASP.NET Web Forms (Classic) 2
Tags: XlsIO
Balamurugan Duraisamy
Asked On July 24, 2009 01:58 PM UTC

This is Bala.In the past I have worked with syncfusion databound grid for my Windows applications.
Now I am in the process of finding out the grid component which supports importing Excel files with all the formulas and macros and I should be able to do all the Excel features in the grid.Is that possible.Do you have any grid component or Do you know any component.
If so Please let me know.
Please find attached Excel sheet which needs to me imported in to the grid.If you have any control then please test it.
Looking forward your reply


Core-Growth MODEL (TRZ) Combined 03.30.09_68792446.xls

Administrator [Syncfusion]
Replied On July 24, 2009 04:22 PM UTC


I don't think Syncfusion does have grid component for your requirement

Jisha Joy [Syncfusion]
Replied On July 30, 2009 09:50 AM UTC


By using GridExcelConverterControl class it is possible to conversion of contents in a grid control to a XLS file as well as XLS file contents to a grid control. It also import formulas from xls file to GridControl. But it does not support importing of macros. You could see the following sample from our sample browser:

..\My documents\syncfusion\essentialstudio\\Windows\Grid.Windows\Samples\2.0\Export\GC XLS Export Demo

Here the code snippets to import from xls file into GridControl:

Syncfusion.GridExcelConverter.GridExcelConverterControl gecc = new Syncfusion.GridExcelConverter.GridExcelConverterControl();
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Filter = "Files(*.xls)|*.xls";
openFileDialog.DefaultExt = ".xls";
if(openFileDialog.ShowDialog() == DialogResult.OK )
gecc.ExcelToGrid( openFileDialog.FileName, this.gridControl1.Model);

Please let me know if you have any questions.



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

This page will automatically be redirected to the 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