Subject: Another problem
Posted By: deb_kareng Post Date: 8/6/2007 5:15:20 AM
Hi Planoie,

What i generally do to export data to excel
1. populate a dataset
2. bind it to datagrid/Repeater/Gridview/Datatable
3. Export it to Excel

Is there any other way to export directly from a dataset so that i can rearrange the columns to display.

Thanks in advance


Reply By: planoie Reply Date: 8/6/2007 10:21:36 AM
Given that you are exporting from a web app you aren't going to be able to do very much after you export. (If you were in a desktop app then you could potentially interact with Excel directly.)

However, you can rearrange the dataset columns as you like before you export.  I would think that would be the easiest way.

-Peter

Go to topic 63690

Return to index page 1