📜  数据表重命名列c#代码示例

📅  最后修改于: 2022-03-11 14:48:43.756000             🧑  作者: Mango

代码示例2
// i could be column index
dataTable.Columns[i].ColumnName = "SubjectMarks";
// columnName dynammic
dataTable.Columns["columnName"].ColumnName = "SubjectMarks";