title: How to remove row which has one or more empty or null cell?
body: <p>I have datagridview on my winform. I am displaying records in the datagridview. Now after displaying the records on the datagridview, I want to remove the row from datagridview which has one or more empy cells that is no value in the cell for that row. So for that I am checking each cell for every row if there is any cell empty or null then I remove that rows using <code>RemoveAt()</code> function.</p>
  
  <p>My code is :</p>
  
  <pre><code>for (int i = 0; i &lt; dataGridView1.Rows.Count - 1; i++)
              {
                  for (int j = 0; j &lt; dataGridView1.Columns.Count; j++)
                  {
                      if (string.IsNullOrEmpty(dataGridView1.Rows[i].Cells[j].Value.ToString()))
                      {
                          dataGridView1.Rows.RemoveAt(i);
                          break;
                      }
                  }
              }
  </code></pre>
  
  <p>Then problem is it does not work properly that it does not remove all the rows which has empty cell. So what should I do here ?</p>