Definitely works. Are you referencing the correct DataGridView in your code and are you referencing the right row? (please post some of your code so we can see what's up)Me.DGV.Rows.Item(1).HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter