Total Pageviews

Thursday, November 10, 2016

Add Items to ListView Columns in Visual Basic 2015

Add Items to ListView Columns in Visual Basic 2015
Add Items to ListView Columns in Visual Basic 2015
In this blog post you will learn how to add item and subitem to ListView.
I have 2 textboxes, txtUsername and txtPassword

        Dim item As New ListViewItem(txtUsername.Text)
        item.SubItems.Add(txtPassword.Text)
        ListView1.Items.Add(item)

In the next post I will teach you how to remove items from ListView in Visual Basic 2015.

No comments:

Post a Comment