VB.net Reading from ListViews with Multiple Columns

Posted by xzerox on Stack Overflow See other posts from Stack Overflow or by xzerox
Published on 2010-05-17T03:16:32Z Indexed on 2010/05/17 3:20 UTC
Read the original article Hit count: 299

Filed under:
|
|
|

Alright. So I was able to find out how to read from the first column but I need to read from both of them. I am using full row select which I need on there.

Here is the code I am using to get it for the first column.

Dim I As Integer
For I = 0 To ListView1.SelectedItems.Count - 1
    MsgBox(ListView1.SelectedItems(I).Text)
Next
MessageBox.Show(ListView1.Columns(0).Text)

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about listview