title: Keeping ID and Value in sync using ComboBox WinForms C#
body: <p>I'm using <code>ComboBox</code> to keep data in. Usually i create 2 <code>ComboBox</code> one hidden to keep ID and one with the real data. I need id to know which id it is in database. I then use SelectedIndex and event for both checkboxes to keep them in sync. Sometimes I even use more comboboxes and keep them all in sync with each other using SelectedIndex and lots of events. I have a feeling there's a better way.</p>
  
  <pre><code>    private void czynnoscInstrumentyFinansoweComboID_SelectedIndexChanged(object sender, EventArgs e) {
          czynnoscInstrumentyFinansoweCombo.SelectedIndex = czynnoscInstrumentyFinansoweComboID.SelectedIndex;
      }
  </code></pre>
  
  <p>Also another thing that I would like to have is autocomplete/search inside <code>ComboBox</code>. When user uses combobox and starts typing inside combobox it just reacts on first letter so when you type 'start' it will jump thru the list to <code>s</code> then to <code>t</code> then to <code>a</code> etc.  when i would like it to try and find the phrase "Start of something".</p>
  
  <p>How do I achieve both of those?</p>
  
  <p>EDIT: </p>
  
  <p>I am not using DataSets, and i am adding values like that:</p>
  
  <pre><code>  // get sql data and put it into strings/decimals then add it like that to comboBox
    string var = "sds";
    czynnoscInstrumentyFinansoweComboID.Add(var);
  </code></pre>