DataTable排序

2016/10/27 10:14:38

Category 软件技术 Tag .net,datatable,排序

DataView dv = dt.DefaultView;

dv.Sort = "c1 Asc";

DataTable dt2 = dv.ToTable();