title: comparison of datagridview cell values
body: <p>I am trying to compare values of two datagridview cells:</p>
  
  <pre><code>if (kk.BoringData.Rows[rows].Cells[0].Value != kk.BoringData.Rows[rows - 1].Cells[0].Value)
  {
  ...
  }
  </code></pre>
  
  <p>Both cell values are "B-1", but it returns true.</p>