how to select all item in listview?

         For i = 0 To lvList.Items.Count - 1
            lvList.Items(i).Selected = True
        Next i

One way is

For Each item As ListViewItem In ListView1.Items
    item.Selected = True
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.