摘要: 在web开发中,经常会碰到数据已经在页面中显示,但又要下载Excel格式的报表的情形显示在服务器重新计算一次比较耗时,这些一般会把页面上的数据post到服务器,服务器产生二进制的excel响应流然后发送给服务器端1.方法一:<form id="form2" action="/download.ashx" method="post" target="_self"><input name="id" type="hidden" value="1" 阅读全文
posted @ 2012-08-22 10:59 ahui 阅读(330) 评论(1) 推荐(1) 编辑