摘要:
Linq 对DataTable中的列进行分类统计一、构造数据源 DataTable dt = new DataTable(); DataColumn dc = new DataColumn(); dc.ColumnName = "Id"; dc.DataType = typeof(System.String); dc.DefaultValue = ""; dt.Columns.Add(dc); dc = new DataColumn(); dc.ColumnName = "CountIn"; dc.DataT... 阅读全文