tags:

views:

97

answers:

1

How to adjust row height in datagrid at runtime in C# .net?

+1  A: 

Loop through the rows and change it, for example:

foreach (DataGridViewRow row in dataGridView1.Rows)
{
    row.Height -= 2;
}
ho1