Is there a “proper” way to read CSV files [duplica

2019-01-10 19:52发布

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?

标签: c# .net csv oledb
7条回答
家丑人穷心不美
2楼-- · 2019-01-10 20:23

KBCsv is another option, particularly if you require efficiency and the ability to work with massive CSV files.

Disclosure: I wrote KBCsv, hence the "KB" ;)

查看更多
登录 后发表回答