It shouldn’t be too hard to derive entire CSV reader from
the code presented in this article, but tabular data can come in many different
formats and implementing a reader and a writer for each of them may not be so
easy and could really hurt your productivity.
For that reason, could use some third party component which
supports various file formats. This will probably cost you some money, but
formats like XLS,
XLSX, CSV, ODS, HTML are likely to be supported within the same API, so
your application will be able to target different file formats using the same
code.