title: set selected item in combobox - vb.net
body: <p>I am using this code to add a value to a combobox different then the one displayed: <a href="https://stackoverflow.com/questions/1887388/how-to-add-value-to-combobox-item">how to add value to combobox item</a></p>
  
  <p>Lets suppose i have 3 values in my Combobox:</p>
  
  <pre><code> item 1
   item 2
   item 3
  </code></pre>
  
  <p>If i chose <code>item 2</code> from the dropdown the code in the link works. But if i TYPE <code>item 2</code> manually it doesnt work because i think that typing it only sets the <code>combobox1.text</code> value and not the <code>combobox1.selecteditem</code>. I can type a value present in the dropdown, or one not present. If i type one that is present, then the selectedItem property should also be set to the proper value. can this be done?</p>
  
  <p>Thanks </p>