I need a CSVParser class file A Class File which parses csv and returns a dataSet as a result ASP.Net
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Carriage Return (ASCII chr 13) is missing from tex
- Why am I getting UnauthorizedAccessException on th
- Correctly parse PDF paragraphs with Python
I've had luck with this parser. It will return results to a DataSet.
Another tool you might want to check out is FileHelpers. I see there's a tag for this resource here on SO.
I'm pretty sure that CSVReader (CodeProject) can read to
DataTable
.Note that manually setting up the schema is optional; if you don't, I believe it assumes that everything is
string
.Simple google gives plenty of results.