html+ashx + NPOI 实现导出Excel文件并且预览和下载
摘要:先看看实现效果简单描述一下实现过程:1. 生成报表,返回报表文件路径 $.post 请求一般处理文件ashx ,通过npoi生成对应的excel文件。生成成功后,返回文件保存的完整路径2.location.href 指定在aspx也中打开excel文件 var filePath = data....
阅读全文
posted @ 2014-08-26 15:06
posted @ 2014-08-26 15:06