CSV importing support

liptonIcedTea

Well-known member
Joined
Jan 18, 2007
Messages
89
Programming Experience
1-3
Hi,

I was wondering if the vb.net API has any support for CSV?

I can't seem to find anything on it.
 
There is the TextFieldParser class.
 
Either of those works or you can always read each line, do a String.Split(",") and create your own DataSet if you want full control over the parsing routine.
 
Problem with String.Split is if the fields are quoted, which text fields usually are in order to allow delimiter chars in the text. If not this method is sufficient.
 
Back
Top