title: Acess Value of Combo Box filled by a DataBase (Layered Architecture)
body: <p>Folks!</p>
  
  <p>The deal is... I have a layered application, with one i have a method to fill my <code>combo box</code> with names of states (that are recorded in my database)</p>
  
  <p>I use it to make a register of clientes, so far so good. 
  But, when i try to alter the informations of my clientes, the state is set on the first value of the <code>combo box</code> and not the one i had choose before....</p>
  
  <p>Extra Information: The information to alter the cliente comes from a <code>datagridview</code> , that is updates afeter the successful register.</p>
  
  <p>I'm filling the <code>combo box</code> in my load event.</p>
  
  <p>I'm setting the information that way: </p>
  
  <pre><code>cliente.estado = cbEstado.Text;
  </code></pre>
  
  <p>And getting the information: </p>
  
  <pre><code>cbEstado.Text = dgvConsulta[8, dgvConsulta.CurrentRow.Index].Value.ToString();
  </code></pre>
  
  <p>Thanks for the atention!</p>