문제

Has anyone run across a quality library that will parse, line by line, CSV, tab-delimited, and Excel files?

I've started to do it manually but have noticed some of the intricacies in parsing a comma-delimited file. Such as situations where a cell has a comma in it as part of the data (blah,\"LastName, Jr.\",blah,blah).

도움이 되었습니까?

다른 팁

Take a look at the FileHelpers Library. It's free and has a number of examples on their page.

You may take a look at FileHelpers.

Try http://filehelpers.sourceforge.net/

It will allow you to parse any type of file. All you have to do is create a mapping describing the file. Plus its free!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top