title: Is it possible to set the selectedIndex of a combobox based on its value
body: <p>Is it possible to set the selectedIndex of a combobox based on its value, without having to iterate through the datasource?</p>
  
  <p>I set the datasource like this:</p>
  
  <pre><code>caseDBTableAdapters.usersTableAdapter usersAdapter = new caseDBTableAdapters.usersTableAdapter();
              caseDB.usersDataTable users;
              users = usersAdapter.GetUsers();
  
              cbOwner.DisplayMember = "fullName";
              cbOwner.ValueMember = "userId";
              cbOwner.DataSource = users;
  </code></pre>
  
  <p>It seems less elegant to have to iterate through the table fx. by doing:</p>
  
  <pre><code>int counter = 0;
              foreach (caseDB.usersRow usersRow in users)
              {
  
                  if (usersRow.userId == selectedUser)
                  {
  
                      cbOwner.SelectedIndex = counter;
  
                  }
                  counter++;
              }
  </code></pre>