dataGridView1.Rows.Clear();
dataGridView1.Refresh();
gridView1.DataSource = null;
gridView1.DataBind();
// If "dataGridView1.Rows.Clear();" Not work Use the Following
do
{
foreach (DataGridViewRow row in dataGridViewError.Rows)
{
try
{
dataGridViewError.Rows.Remove(row);
}
catch (Exception) { }
}
} while (dat