/// <summary> /// 将当前DataTable转为HTML格式的字符串 /// </summary> /// <param name="data"></param> /// <returns></returns> public static string toHTML(this DataTable data) { return(DataTableUtil.toHTML(data, "")); }
/// <summary> /// 将当前DataTable转为HTML格式的字符串 /// </summary> /// <param name="data"></param> /// <param name="invisible_columns"></param> /// <returns></returns> public static string toHTML(this DataTable data, string invisible_columns) { return(DataTableUtil.toHTML(data, invisible_columns)); }