You can find the html input box like this:
Dim SourceTextBox As TextBox
SourceTextBox = CType(FindControl("search_input"), TextBox)
Now you can use SourceTextBox.Text to get selected value and add this to database.
To insert this selected value you can follow below links:
step-by-step procedure to INSERT record to SQL server
Don't forget to mark useful responses as Answer if they helped you towards a solution.