.net 流氓
天下无难事,有志者成之;天下无易事,有恒者得之。

            var queryGBN =
                 from q in dt.AsEnumerable()
                 group q by new { Doc_Type = q.Field<string>("Doc_Type"), Packing_Method = q.Field<string>("Packing_Method"), Packing_Method_Desc = q.Field<string>("Packing_Method_Desc") }
                  into g where g.Count()>1   select new {  g.Key        };

posted on 2012-03-10 10:33  .net 流氓  阅读(734)  评论(0编辑  收藏  举报