Reputation:
I have a ListView with 3 columns, how do I add specified text to the specified column I want? I've looked at the ..Add function, but it doesn't take the column index.. Thanks!
Upvotes: 0
Views: 1067
Reputation: 1390
ListViewItem has a SubItems property that you can use to set the text of a specified column.
Upvotes: 0
Reputation: 94653
Dim item as New ListViewItem(new String(){"One","Two","Three"})
ListView1.Items.Add(item)
Upvotes: 2