title: Setting the Selected Value on DatagridView.ComboboxColumn
body: <p>I am currently trying to complete a form with a grid that is loaded programmatically.</p>
  
  <p>The grid has 6 columns and the last column is a ComboBox</p>
  
  <p>This is part of the code</p>
  
  <pre><code>foreach(var persona in asistenciaRepo.FilterBy(x =&gt; x.plaserv == planilla).OrderBy(x =&gt; x.orden))
  {
    grilla_personal.Rows.Add(persona.personal.id, persona.personal.id_legajo, persona.jerarquia.descripcion, persona.personal.nomyape, persona.orden, persona.codificacion.descripcion);
  }
  </code></pre>
  
  <p>Basically what I'm trying is that when the grid is loaded and displays the selection combobox stored in my entity</p>
  
  <p>the <code>persona.codificacion.descripcion</code> is the column of my entity that contains the data you wish to link to my control.</p>
  
  <p>It is necessary to handle the event <code>SelectedValueChanged</code> or what is the way to do it correctly.</p>
  
  <p>[UPDATE]</p>
  
  <p>Column 6 is loaded programmatically</p>
  
  <pre><code>foreach (var c in codifRepo.GetAll())
  {
     codificacion.Items.Add(c);
  }
  codificacion.ValueMember = "id";
  codificacion.DisplayMember = "descripcion";
  </code></pre>
  
  <p><code>codificacion</code> is the name of the ComboBoxColumn</p>