//do something with the data; you most likely have to clean up the input a bit
}
}
For anything more complicated (e.g. Excel format 2007/2010) I would probably spend some money on one of the out-of-the-box .Net dlls like the one you have linked above, it's money well spend IMO.
how to export data from spreadsheet to datatable?
Hi experts,
i want to know what's the best way to export data from spreadsheet to datatable? maybe, any way that can export data from spreadsheet to datatable.
Thanks for any answers.
Hi,
it pretty much depends on the format of your 'spreadsheet'. If it's a CSV file then things are quite easy, you could do something like:
For anything more complicated (e.g. Excel format 2007/2010) I would probably spend some money on one of the out-of-the-box .Net dlls like the one you have linked above, it's money well spend IMO.
Cheers, Sascha
is working on a reply...