title: How to set selected value from Combobox?
body: <p>I use combobox in c# windows form. I bound the item list as below:</p>
  
  <pre><code>var employmentStatus = new BindingList&lt;KeyValuePair&lt;string, string&gt;&gt;();
  
  employmentStatus.Add(new KeyValuePair&lt;string, string&gt;("0", "[Select Status]"));
  employmentStatus.Add(new KeyValuePair&lt;string, string&gt;("1", "Contract"));
  employmentStatus.Add(new KeyValuePair&lt;string, string&gt;("2", "Part Time"));
  employmentStatus.Add(new KeyValuePair&lt;string, string&gt;("3", "Permanent"));
  employmentStatus.Add(new KeyValuePair&lt;string, string&gt;("4", "Probation"));
  
  employmentStatus.Add(new KeyValuePair&lt;string, string&gt;("5", "Other"));
  cmbEmployeeStatus.DataSource = employmentStatus;
  cmbEmployeeStatus.ValueMember = "Key";
  cmbEmployeeStatus.DisplayMember = "Value";
  cmbEmployeeStatus.SelectedIndex = 0;
  </code></pre>
  
  <p>I save the selected value in database eg.1 or 2. Now I want to set selected value from database item like:</p>
  
  <pre><code>cmbEmployeeStatus.SelectedValue =employee.employmentstatus;     
  </code></pre>
  
  <p>But combobox not selected with value. How can I do that?</p>