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.

Exporting to Excel

Thread ID:

Created:

Updated:

Platform:

Replies:

73817 May 21,2008 05:08 AM May 22,2008 09:48 AM Windows Forms 1
loading
Tags: Chart
Ravit Shem-Tov
Asked On May 21, 2008 05:08 AM

I have a chart that gets its data from a dataview (im bounding it to the dv)

i want to export its data and image to an excel file with 2 sheets(one is the data, the other is the image)

how can i do that? is there a way to bind the excel somehow to the dataview as well?

i want to do this without saving it first, but to open the excel and let the user save it if he wants, in which path he wants

thank you



Bhuvaneswari P [Syncfusion]
Replied On May 22, 2008 09:48 AM

Hi Ravit,

Thank you for your interest in Syncfusion products.

1 DataView to Excel
It is not possible to export the DataView data into the Excel file. We can only export the DataTable into the Excel file using our XlsIO. As a workaround please convert the DataView to DataTable then export into Excel file.

Here is the sample for your reference:


http://www.syncfusion.com/development/uploads/DataGridViewtoExcel_30cfcae4.zip


In this sample we have converted DataView into DataTable then exported to Excel file.

2. i want to do this without saving it first, but to open the excel and let the user save it if he wants, in which path he wants

It is not possible to open the Excel file without saving into the disk. After saved the file in the disk only we can view it in the viewer or MS Excel.

Please let me know if you have any other questions.

Best Regards,
Bhuvana


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.

;