DataGridView Edit Column Names
You can edit the header directly:
dataGridView1.Columns[0].HeaderCell.Value = "Created";
dataGridView1.Columns[1].HeaderCell.Value = "Name";
And so on for as many columns you have.
You can also change the column name by using:
myDataGrid.Columns[0].HeaderText = "My Header"
but the myDataGrid
will need to have been bound to a DataSource
.