摘要: // JavaScript Document //功能:导出多个表格到EXCEL或者ET //调用方法:toExcel('要导出的表格ID,以|分隔多个表格','输出到excel中的工作薄名称','导出的方式,0为不带格式,1为带格式','要导出的列数') var idTmr = "... 阅读全文
posted @ 2012-09-27 17:44 网事 阅读(255) 评论(0) 推荐(0) 编辑
摘要: HTML JS: C#: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System... 阅读全文
posted @ 2012-09-27 17:40 网事 阅读(371) 评论(0) 推荐(0) 编辑
摘要: highcharts处理日期型X轴比较麻烦,用以下方法可以实现: HTML: 前端脚本: 后台代码示例: using System;using System.Collections.Generic;using System.Linq;using System.Web;usin... 阅读全文
posted @ 2012-09-27 17:36 网事 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 前端的GridView不要用自动生成列,否则取不到列的资料,不知自动生成列有什么办法? 前端增加一个CheckBoxList用来显示GridView列,导出的时候选择: 请选... 阅读全文
posted @ 2012-09-27 17:08 网事 阅读(293) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.IO;using System.Text;using System.Web;using NPOI.HPSF;using NPOI.HSSF.UserModel;using NPOI.SS.UserModel... 阅读全文
posted @ 2012-09-27 16:48 网事 阅读(222) 评论(0) 推荐(0) 编辑