// i could be column index dataTable.Columns[i].ColumnName = "SubjectMarks"; // columnName dynammic dataTable.Columns["columnName"].ColumnName = "SubjectMarks";