You are on page 1of 1

while (datagridview1.RowCount > 1) { datagridview1.Rows.Remove(datagridview1.

CurrentRow); }

You might also like