I have a problem that I can't solve, I have a comboBox that have items from a SQL database, let's say it have the items: "Lolo", "123loma", "lo789"
What I need is, when I write "lo" the droppedDown list should show me the three items, like in a standard autocomplete.
Please help me!
edit: Hello! @jimi thanks for the reply, I tried what you said, but didn't work perhaps I am doing something wrong, here is what I have done:
Private Sub cboActividad_TextChanged(sender As Object, e As EventArgs)
Handles cboActividad.TextChanged
TempTable = cboActividad.DataSource
Dim TempList As New AutoCompleteStringCollection
For Each row As DataRow In From row2 As DataRow In TempTable.Rows Where (row1("titulo").Contains(sender.Text))
TempList.Add(row(1).ToString())
Next
cboActividad.AutoCompleteCustomSource = TempList
End If
End Sub
I already have the "cboActividad" AutoCompleteSource = CustomSource. If you need something else to make it clearer tell me. Thanks!