CSV <--> ArrayList

dotdotdot

Member
Joined
Oct 22, 2008
Messages
7
Programming Experience
Beginner
Hello all,

I've been given a task to do the following with VB .net (2008):
Read the CSV and put it into an ArrayList, and vice versa.

I've searched high and low on the internet, but I don't seem to find a solution that works for me. Does anyone know how this could be done easily?

Thank you very much,
T (VB newbie)
 
What should the "arraylist" contain? The lines? The fields of each line? If you are working with lines use the List(Of String), not ArrayList. IO.File class has methods like ReadAllLines and WriteAllLines. If you are working with the fields insert the code snippet "read a delimited text file".
 

Latest posts

Back
Top