title: Searching in databound comboBox?
body: <p>Guys I have a comboBox that is configured to work like dropdownlist. It is being populated through database. It is working flawlessly.</p>
  
  <p>Now what I want to do is is this :
  For example I have comboBox that is getting "Names" column from database table "tblPersons" and displaying it.
  if, For example, there are total of 4 entries in database table "tblPersons" </p>
  
  <ol>
  <li>Ali Khan</li>
  <li>Ahmed Khan</li>
  <li>Bilal Khan</li>
  <li>Bilal Farooqi</li>
  </ol>
  
  <p>So when I write "Ahmed Farooqi" in comboBox (comboBox should be editable and it should display all entries with name "Ahmed" once I have written "Ahmed") and press enter, it should search in database table "tblPersons" - if "Ahmed Farooqi" is found - it should select it, if "Ahmed Farooqi" is not found - it should ask if I want to create new entry in database table "tblPersons", if I click "yes" it should open another form for adding new person and if I click "No" it should do nothing.</p>
  
  <p>How should I do this. I am new to C#, so any help would be greatly appreciated. I apologize if my question was unclear.</p>
  
  <p>Regards.</p>
  
  <p>Edit : This is my test form, here I a textBox that will be used to enter Name, the textbox should search for a name in database, then if name is found, display number and email from database in their respective textboxes. If not found, it should display messagebox asking user to create a new person and if clicked yes, switch to another form (where user will create new person).</p>
  
  <p><img src="https://i.stack.imgur.com/FwAGE.jpg" alt="enter image description here"></p>