在网上找了一些JQuery合并列的例子,但是都是用.hide()的方式,这样导致了在导出Word的时候表格严重变形 自己写了一个用.remove()方式的合并列 function arrangeTable(tableId, colNum, norowspan) { for (var i = colNum; i > 0; i--) { var isRowspan = true; $(norowspan).each(function () { if (i == this) isRowspan = f
做了差不多一周的导出Word,现在把代码贴出来 : ExportWord.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.IO; /// <summary> ///DaoChuWord 的摘要说明 /// </summary> public class ExportWord { publi