Just replace the code you have in your if-statement with the code in the following code snippet and you should be fine. There are probably other ways to do this, but this was the first I found, for now.
Hope it helps,
Nate
1: 2: 3: 4: 5: 6: 7: 8:
// 'vw' is the name of your DataGridView DataGridViewRow row = vw.CurrentRow; DataGridViewCellStyle style = new DataGridViewCellStyle(row.InheritedStyle); style.Font = new Font((style.Font ?? vw.Font), FontStyle.Bold); foreach (DataGridViewCell cell in row.Cells) { cell.Style = style; } vw.InvalidateRow(row.Index);