Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a "proper" way to read CSV files [duplicate]

Tags:

c#

.net

csv

oledb

Possible Duplicate:
CSV File Imports in .Net

In .net, is there a standard library that should be used to read in csv files? All the samples on the web roll their own csv reader / parser, or use OleDb.

It's not a problem using any of these solutions, I was just wondering if there is a generally accepted library (not that I can find), or any other "proper" way to do it?

like image 271
Gareth Avatar asked Jul 09 '09 12:07

Gareth


1 Answers

CsvReader is a pretty good one... it isn't Microsoft, but it works very well, and is a lot faster than some of the alternatives (legacy OleDb etc).

like image 91
Marc Gravell Avatar answered Sep 28 '22 20:09

Marc Gravell