Aşağıdaki kod ile gridview e ait bütün satırları kolonları silmeden boşaltabilirsiniz.
while (gridView1.RowCount != 0){gridView1.SelectAll();gridView1.DeleteSelectedRows();}
Logo SQL
Comments are closed