B
BillE
I am exporting data from a dataset to an Excel spreadsheet. The datatable
can contain thousands of rows.
I have tried using Excel interop and writing the data cell by cell, and I
have tried using ADO OLEDB, creating a table in an excel workbook and
executing an Insert statement for each row.
Both of these are prohibitively slow.
I can write the data to a CSV, which is fast, but I would prefer to create a
spreadsheet with some formatting.
Is there another way to do this, or to speed up the process?
Thanks
Bill
can contain thousands of rows.
I have tried using Excel interop and writing the data cell by cell, and I
have tried using ADO OLEDB, creating a table in an excel workbook and
executing an Insert statement for each row.
Both of these are prohibitively slow.
I can write the data to a CSV, which is fast, but I would prefer to create a
spreadsheet with some formatting.
Is there another way to do this, or to speed up the process?
Thanks
Bill