//result 是一个待去重的数据源 DataView dv = new DataView(result); DataTable dt2 = dv.ToTable(true, "DEP_NAME", "Code");