Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27056

[RESOLVED] listview export

$
0
0
i know i am being stupid here so i apologies before we start!

Trying to export a list view to a csv but i need it to export in an order, how do i change the count to run 5, 2, 3, 4??

Code:

   
 For i As Integer = 0 To lv.Items.Count - 1
    For j As Integer = 0 To lv.Columns.Count - 1
        os.Write("""" & lv.Items(i).SubItems(j).Text.Replace("""", """""")+ """,")
    Next
    os.WriteLine()
 Next
 os.Close()


Viewing all articles
Browse latest Browse all 27056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>