Response.AddHeader("Content-Disposition", "attachment; filename=Certificate.pdf"); Response.ContentType = "text/pdf";byte[] pdfFileByte = File.ReadAllBytes(tempxmlfile); Response.OutputStream.Write(pdfFileByte, 0, pdfFileByte.Length); Response.Flush();
用这段代码把生成的PDF文件输出,然后重新绑定gridview数据,可以代码执行了,页面没反应...怎么解决,求高手!!!!!
呼啦一阵风
qq_笑_17