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.

Current work around for exporting databoundgrid to excel doc

Thread ID:

Created:

Updated:

Platform:

Replies:

12568 Apr 1,2004 07:30 PM Apr 4,2004 10:09 AM Windows Forms 4
loading
Tags: XlsIO
Administrator [Syncfusion]
Asked On April 1, 2004 07:30 PM

Hi, I''m just curious about how I would export a databoundgrid to an excel document in excelRW''s current form? I don''t have the example code in my samples... Thanks Andy J

Administrator [Syncfusion]
Replied On April 2, 2004 01:02 PM

Hi Andy, There are many options for exporting a Databound grid 1)The data from the grid is exported and the formatting is applied using ExcelRW API. I have attached a sample demonstrating this method. 2)The data from the grid is exported and the formatting is done using MS Excel. In this method you can create a template file and do the formatting using MS Excel and then open the template file using ExcelRW and insert data from the grid. Please let me know if you require a sample for this. 3)Exporting both the data and formatting from the grid. Essential grid will have the capability to export both data and formatting. This feature will be available in 2-3 weeks time. Sorry for the inconvenience. Please let me know if you have any other questions. Best regards, Stephen Jebaraj. >Hi, > >I''m just curious about how I would export a databoundgrid to an excel document in excelRW''s current form? I don''t have the example code in my samples... > >Thanks > >Andy J ExportDataBoundGrid_6869.zip

Administrator [Syncfusion]
Replied On April 2, 2004 02:30 PM

Hi Andy, Please disregard the sample attached in my previous reply. The sample is incomplete. I have attached the correct sample in this reply. Sorry for the confusion. Regards, Stephen. ExportDataBoundGrid_987.zip

Administrator [Syncfusion]
Replied On April 3, 2004 08:34 PM

Could you supply the sample for the template? Thanks Andy J

Administrator [Syncfusion]
Replied On April 4, 2004 10:09 AM

Hi Andy, Here is the sample. ExportDataBoundUsingTemplate_9678.zip In this sample i created a workbook using MS Excel (Template.xls) and inserted a few images and did some formatting. The advantage is that you need not write code for doing the formatting work. You can do all the formatting using MS Excel''s rich UI. Finally the template file is opened and all the formattings is read from the file and written to our file along with the data from the databound grid. This method is very convenient in situations where the data in the grid is unformatted and you would like to have a formatted Excel report. Please let me know if you have any other questions. Thanks. Best Regards, Stephen Jebaraj. >Could you supply the sample for the template? > >Thanks > >Andy J

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.

;