Pergunta

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).

Foi útil?

Outras dicas

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!

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top