/// <summary> /// 去除列的重复信息 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dt"></param> /// <param name="indexes">要去重的索引(可以是整数、列名)</param> /// <returns></returns> public static void ClearRepeateInfo <T>(this MDataTable dt, params T[] indexes) { dt.ClearRepeateInfo(null, indexes); }