如何在asp.net中生成大数据的pdf文件 [英] How to generate pdf file of large data in asp.net

查看:80
本文介绍了如何在asp.net中生成大数据的pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts,
I have generate PDF using itext sharp in that there is four table Parrallely that tables are dynamic and If data of table is geting large means data is large than page size than i want this data is showing on second page.but currently it generate only one page
Is there any way to show this data on second page .i want if data is small then only one page should be generated but if data is large thab more than one one page should be generated..becouse my tables are dynamic.
;





谢谢



Thanks

推荐答案

你应该生成PDF在您的服务器上并将PDF作为临时文件保存到服务器位置,然后在PDF完成后,在您的网页中显示从服务器位置下载文件的链接。

In您可以在生成时间显示动画GIF图像的UI(在google上加载。)
You should generate the PDF on your server and save the PDF as a temp file into a server location, then after the PDF will be finished, in your web page show a link for downloading the file from the server location.
In the UI in the generation time your could show an animated GIF image (loading.gif on google).


这篇关于如何在asp.net中生成大数据的pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆