DataGridViewColumn col = new DataGridViewTextBoxColumn(); col.HeaderText = "Hi there"; int colIndex = grid.Columns.Add(col);