Is there a way to filter based on the changing contents of a textbox, so the filtering changes as the users type? With the standard M$ datagridview, I used this code strStoreFilter is set in the textchanged event of the textbox):
Sub FilterGrid()
Dim strFilter As String = “”
If strStoreFilter <> “” Then
strFilter = “StoreName Like ‘%” + strStoreFilter + “%'”
End If
dvLookup.RowFilter = strFilter
End Sub
Imported from legacy forums. Posted by Phil (had 1992 views)