Block copy of Datatable to Excel Spreadsheet using C#
Sorry I should have said you can use copyfrom recordset with the function
something like:
Range("A1").CopyFromRecordset(ConvertToRecordset(t ableToCopy))
"Peter S." wrote:
I am currently copying data from a DataTable to an Excel spreadsheet on a
cell by cell basis. I would like to speed things up by doing this on a row by
row basis or one big block copy. I can't seem to be able to figure out on how
to do this on a row by row basis or by one single command. Can anyone supply
a snippet of how this can be performed? Thanks!
|