DataTable 排序问题

(1) DefaultView.Sort();
(2)DataTable myTable = new DataTable();
    DataRow[] RS = myTable.Select("filter","sort field");
    DT = myTable.Clone();
    DT.Rows.Clear();
    foreach(DataRow r in RS)
 {
  DT.ImportRow(r);
}

你可能感兴趣的:(Datatable)