DataGridViewRow row = (DataGridViewRow)dataGridView1.Rows[0].Clone();
row.Cells[0].Value = "AbC";
row.Cells[1].Value = 123;
dataGridView1.Rows.Add(row);
Previously I used to add new rows using above code. But now It gives error
Index was out of range. Must be non-negative and less than the size of the collection.