dataGridView1.CellBorderStyle = DataGridViewCellBorderStyle.SingleVertical;
dataGridView1.Rows.OfType<DataGridViewRow>().ToList().ForEach(row => row.Height = 50);
foreach (DataGridViewRow row in dataGridView1.Rows) row.Height = 50;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)