更新时间:2022-11-02 23:06:10
您可以使用以下代码在位置 0 的 Datatable 中添加列:
You can use the following code to add column to Datatable at postion 0:
DataColumn Col = datatable.Columns.Add("Column Name", System.Type.GetType("System.Boolean"));
Col.SetOrdinal(0);// to put the column in position 0;