It works for me, unless...
...You wouldn't be setting the row height, then changing the data, would you?
Because
dataGridView1.Columns.Add("C1", "Col1");
dataGridView1.Columns.Add("C2", "Col2");
dataGridView1.Columns.Add("C3", "Col3");
dataGridView1.Rows.Add("R1C1", "R1C2", "R1C3");
dataGridView1.Rows.Add("R2C1", "R2C2", "R2C3");
dataGridView1.Rows.Add("R3C1", "R3C2", "R3C3");
int intCount = dataGridView1.RowCount;
for (int i = 0; i < intCount; i++)
{
dataGridView1.Rows[i].Height = 40;
}
dataGridView1.Rows.Add("R4C1", "R4C2", "R4C3");
Will give you three big rows, then one small one.
But you wouldn't do that, would you? :laugh: