DataTable中手动调整列的顺序(列序,reorder,Rearrange)
DataTable dt = new DataTable();
DataTable dt = new DataTable();
dt.Columns("ColumnName").SetOrdinal(4) //将栏位顺序调到第4列
dt.Columns("ColumnName").SetOrdinal(4) //将栏位顺序调到第4列