CSV libraries for .NET
Posted by jpluimers on 2015/01/27
A few libraries for writing and/or reading CSV files in .NET:
- CsvHelper: I’ve used this to export CSV, and it was very easy.
- LumenWorks.IO: supports databinding; some nice examples are on codeproject.
- FileHelpers: does way more than just CSV (like Access, Excel and SQL Server), so I have not used it yet.
- CsvParser: is still on my list of things to try, as Julian Bucknall is a very thorough developer.
- TextFieldParser: built into the VB.NET run-time. Used it but bumped into TextFieldParser problem with Double Quotes with Quotes.
Most of the above links come from these SO questions:
- Simple C# CSV Excel export class – Stack Overflow.
- Are there any CSV readers/writer libraries in C#? – Stack Overflow.
Together with the links from my previous CSV post If you think CSV is easy; think again that should get everyone going.
–jeroen
Leave a Reply