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);
}
posted @ 2009-08-19 21:35  空紫竹  阅读(223)  评论(0编辑  收藏  举报