datatable重新排序

DataTable dt = PickValuesToTable(0, field, "option", "name");
            dt.DefaultView.Sort = "option desc";
            dt = dt.DefaultView.ToTable();
            return dt;

  

posted @ 2020-07-07 10:36  八英里  阅读(337)  评论(0编辑  收藏  举报