Hello all!

Using Visual Basic 2008, I Want to load a csv file to Listview.

I am new to LINQ, and had some great performance increase in using LINQ (compared to loops) when loading a csv file to a single column Listview.

Example Code:

Dim items() As ListViewItem = (From line In IO.File.ReadAllLines(thefiletoread) Where line.Length <> 0 Select New ListViewItem(RTrim(line.ToUpper))).ToArray
altought, i have not found any way to do the exact same thing, but in a multiple column Listview.

I do not wish to use loops, since LINQ syntax works so well.

any of you guys have an idea?