I want to remove lines from a listview where the input value from a text box matches the line number of the listview. This is what I have:
Dim line As ListViewItem
Dim no As String
Dim index As String
index = txtLine.Text
no = frmLineItemDialog.txtLineNo.Text
If index = no Then
line = line.Remove()
End If
Dim line As ListViewItem
Dim no As String
Dim index As String
index = txtLine.Text
no = frmLineItemDialog.txtLineNo.Text
If index = no Then
line = line.Remove()
End If