how to select all item in listview?
For i = 0 To lvList.Items.Count - 1
lvList.Items(i).Selected = True
Next i
PrintToolStripMenuItem.PerformClick()
One way is
For Each item As ListViewItem In ListView1.Items
item.Selected = True
Next
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.