Private Sub Form2_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
''Set view property
ListView1.View = View.Details
ListView1.GridLines = True
ListView1.FullRowSelect = True
'Add column header
ListView1.Columns.Add("ProductName", 100)
ListView1.Columns.Add("Price", 70)
ListView1.Columns.Add("Quantity", 70)
'Add items in the listview
Dim arr(3) As String
Dim itm As ListViewItem
'Add first item
arr(0) = "product_1"
arr(1) = "100"
arr(2) = "10"
itm = New ListViewItem(arr)
ListView1.Items.Add(itm)
End Sub