title: How To Get Id on combobox dropdown
body: <p>I am making a Windows application and i have a combo box that will let the user type text and when user select text from <code>autocomplete</code> list id is not selected </p>
  
  <p>my code :</p>
  
  <pre><code>  Customer.DropDownStyle = ComboBoxStyle.DropDown;
  
    DataTable dt = Globale.ReturnTable("SELECT Id, [NAME] FROM ACTM WHERE (DBCR = 'D') ORDER BY [NAME]");
  
    Customer.DataSource = dt;
    Customer.ValueMember = "Id";
    Customer.DisplayMember = "Name";
    Customer.AutoCompleteMode = AutoCompleteMode.Suggest;
    Customer.AutoCompleteSource = AutoCompleteSource.ListItems;
    Customer.SelectedIndex = -1;
  </code></pre>
  
  <p>i need id from name from ComboBoxStyle.DropDown not from dropdowlist</p>