去掉DataTable中(所有列的数据都相同)重复的行:
DataView dv = new DataView(dtname); //dtname指需去掉重复行的datatable名dtname = dv.ToTable(true);