摘要: //通过DISTINCT筛选排除datatable中重复的数据文件,不需要去foreach遍历,直接DISTINCT很简单: DataTable dataTable= new DataTable(); DataView dataView = dataTable.DefaultView; DataTable dataTableDistinct = dataView.ToTable(true, new string []{"Felid1","Felid2"......});//注:其中ToTable()的第一个参数为是否DISTINCT,第二参数为去重字段的 阅读全文
posted @ 2013-06-13 15:58 wijtt 阅读(211) 评论(0) 推荐(0) 编辑