使用C#使用asp.net生成pdf

使用C#使用asp.net生成pdf

问题描述:

你好朋友,

我想使用itextsharp生成具有100多页的pdf文件.数据是动态的.对于前.具有5oo行的数据表,然后如何将页面动态添加到pdf.

Hello friend,

I want to generate pdf file having more than 100 pages using itextsharp.data is dynamic. for ex. datatable having 5oo rows then how to add pages dynamically to pdf.

看看以下内容:
使用ITextSharp将Gridview数据导出为PDF [ ^ ]
使用iTextSharp(GridView)将HTML导出到Pdf [ ^ ]

试试吧!
Have a look at these:
Export Gridview data to PDF using ITextSharp[^]
Export Html to Pdf using iTextSharp(GridView)[^]

Try!