Hi guys,
Currently I am updating a listview with data in it via clicking on the selected row and displaying that row data onto textboxes and then updating it. What the data has is ID number follow name and QTY. What I want to add to this function is to update the quantity of a specific ID without clicking on the specific row in listview but by searching the ID, returning its results in the textbox, update it .
Private Sub ListView1_DoubleClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListView1.DoubleClick
If ListView1.Items.Count = 0 Then
MsgBox("No Item In The List")
Exit Sub
End If
slist = ListView1.SelectedItems(0)
txtItemName.Text = slist.SubItems(1).Text
txtQty.Text = slist.SubItems(2).Text
End Sub