anybody can help me?
i want to add code after autocompletemode selected, code for autocomplete mode is running good, this is my code for autocompletemode:
Dim AutoComp As New AutoCompleteStringCollection()
Dim acs As String = "select NDP from DAFTARPELAJAR"
acscmd.CommandText = acs
Dim acsda As New OleDbDataAdapter(acscmd)
acsda.Fill(acds)
For i As Integer = 0 To acds.Tables(0).Rows.Count - 1
AutoComp.Add(acds.Tables(0).Rows(i)(0).ToString())
Next
txtNDP.AutoCompleteMode = AutoCompleteMode.Suggest
txtNDP.AutoCompleteSource = AutoCompleteSource.CustomSource
txtNDP.AutoCompleteCustomSource = AutoComp
now i want to bind my database into textbox after the user already click the autocompletemode suggestion, because the query for data bind is refer from the autocompletemode textbox = txtNDP.text, Example:
if autocompletemode.click then
text.bind
endif