Member Avatar for DyO1

I added a ListView object, added few Columns, but the problem is there that I can't add no text to the other columns by making new Items

Any help?

Recommended Answers

All 2 Replies

Are you trying to add multiple cells in a single row?

Dim lvi As New ListViewItem

With lvi
    .Text = "Column1"
End With


If you are wanting to add a column to the listview try:


You can add items more concisely by

ListView1.Items.Add(New ListViewItem({"Column1","Column2","Column3",Column4"}))
commented: Clear n' Concise! +9
Be a part of the DaniWeb community

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