title: Code to clear DataGridView
body: <p>See code below:</p>
  
  <pre><code>        foreach (DataGridViewRow r in dgvStatus.Rows)
          {
              foreach (DataGridViewCell c in r.Cells)
              {
                 c.Value = "";
              }
          }
  </code></pre>
  
  <p>Pretty simple, clears all the values. But I need to make some modifications to it and don't know how to go along.</p>
  
  <p>I want it to clear all the values, except for the first cell in every column. Also, some cells contain checkboxes and not textboxes, how can I make a check for this?</p>
  
  <p>Thanks</p>