I have a textbox with a database table as an autocomplete source, I am filling the autocomplete string collection with the code below, it's working fine and suggestions are appearing as i type but this only suggests string which starts with what i'm typing, how can I get it to suggest strings that contains what i type.
Example, if I had a list of colors on my autocomplete and I type 'o' it would suggest colors like 'orange' but also 'violet'
oracmd = New OracleCommand("Select column_name from table", oracon)
Dim ds As New DataSet
orada = New OracleDataAdapter(oracmd)
orada.Fill(ds, "list")
Dim col As New AutoCompleteStringCollection
Dim i As Integer
For i = 0 To ds.Tables(0).Rows.Count - 1
col.Add(ds.Tables(0).Rows(i)("column_name").ToString())
Next
TextBox1.AutoCompleteSource = AutoCompleteSource.CustomSource
TextBox1.AutoCompleteCustomSource = col
TextBox1.AutoCompleteMode = AutoCompleteMode.Suggest