摘要: DataTable 排序 DataRow[] rows = dataTable1.Select("", "ord asc");DataTable t = DataTable1.Clone();t.Clear();foreach (DataRow row in rows) t.ImportRow(row);DataTable1 = t;VS2005中这种方法最简单: DataView dv = dt.DefaultView; dv.Sort = "c1 Asc"; DataTable dt2 = dv.ToTable();------- 阅读全文
posted @ 2012-06-27 15:56 小锋神 阅读(90505) 评论(4) 推荐(5)
摘要: http://www.my97.net/dp/demo/index.htm 阅读全文
posted @ 2012-06-27 15:55 小锋神 阅读(244) 评论(0) 推荐(0)