导出时是否可以将动态内容与Gridview一起添加到PDF [英] Is it possible to add Dynamic content to PDF along with Gridview while exporting

查看:65
本文介绍了导出时是否可以将动态内容与Gridview一起添加到PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编写了将gridview导出为PDF的代码,但是我需要在gridview数据之前向PDF文件中添加一些内容.
样本数据如下,

I have written the code for exporting the gridview to PDF but what i need is to add some content to the PDF file before gridview data.
A sample data is as follows,

Customer Id : 001
Customer Name :XYZ and other stuff


推荐答案

这些应该可以帮助您入门:
使用Visual Basic和iTextSharp DLL以编程方式完成PDF表单字段 [使用C#(.NET 2.0)和iTextSharp创建PDF表 [
These should get you started:
Programmatically Complete PDF Form Fields using Visual Basic and the iTextSharp DLL[^]
Creating PDF Tables using C# (.NET 2.0) and iTextSharp[^]


看看这些链接

Export-GridView-Word- Excel-PDF-CSV-Formats-in-ASP.Net [ Exporting-GridView-PDF [ Gios PDF .NET库 [
Have a look on these links

Export-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net[^]
By Using ITextSharp.dll
Exporting-GridView-PDF[^]
See CP article "Gios PDF .NET library"
Gios PDF .NET library[^]


这篇关于导出时是否可以将动态内容与Gridview一起添加到PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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