Hello,
I'm having a problem getting my textbox to search case insensitive
I'm using a textbox to search within a listbox
If there anyway to make it search with case insensitive?
I'm having a problem getting my textbox to search case insensitive
I'm using a textbox to search within a listbox
VB.NET:
Private Sub tbSearch_TextChanged(sender As Object, e As EventArgs) Handles tbSearch.TextChanged
For Each item In lbStoresF.Items
If item.contains(tbSearch.Text) Then
lbStoresF2.Visible = True
lbStoresF2.Items.Add(item)
End If
Next
End Sub
If there anyway to make it search with case insensitive?