title: how to loop datagridview full rows
body: <p>I'm using foreach loop to check data in each row from my datagridview and I want to avoid the headline and the empty buttom line, how do I do that?
  that's my simple loop:</p>
  
  <pre><code>foreach (DataGridViewRow row in dataGridView1.Rows)
  {
      string datatocheck = row.Cells[2].Value.ToString();
      if (datatocheck == "done")
      {
          row.Cells[2].Style.ForeColor = Color.Yellow;
      }
  }
  </code></pre>