title: How do I select an item in a datagridview
body: <p>I've done this in the past with VB.Net I'm just not sure how to do this in C#. Below is the code that I would use in VB</p>
  
  <pre><code>private void LabelsGV_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
              {
                  Int32 i, j;
  
                  i = LabelsGV.CurrentRow.Index;
                  Key = LabelsGV.Item(0, i).Value;
  
              }
  </code></pre>
  
  <p>it's pretty straight forward, in the LabelsGV.Item 0 represents the column and i represents the row. Unfortunately Item doesn't work in C# so it looks like I need an alternative or I need to code it differently.  </p>
  
  <p>The answer is <code>Key = (String)LabelsGV[0, i].Value;</code> 
  Thank You everyone for your help.</p>