Answers for "how to change the name of show entries in datatables"

C#
0

change column name in datatable C#

// i could be column index
dataTable.Columns[i].ColumnName = "SubjectMarks";
// columnName dynammic
dataTable.Columns["columnName"].ColumnName = "SubjectMarks";
Posted by: Guest on August-03-2021

Code answers related to "how to change the name of show entries in datatables"

C# Answers by Framework

Browse Popular Code Answers by Language