使用asp.net将gridview转换为pdf
问题描述:
大家好,
我在gridview中使用模板字段。在里面我使用itemtemplate和里面我使用div
来设置gridview样式,它在浏览器中没有问题,但在pdf文件中没有。所以请帮忙。
Hi All,
i use template field in gridview. Inside it iam using itemtemplate and inside i use div
to style the gridview ,it is ok in browser but not in pdf file.so please help.
答
请参阅此处,
http://www.c-sharpcorner.com/UploadFile/9f0ae2/export-gridview-into-pdf-in-Asp-Net/ [ ^ ]
你可以使用itextsharp。
http://www.codeproject。 com / Articles / 200079 /一体化出口 - 数据在ASP-NET
谢谢,
Rohit
Hi,
you can use itextsharp.
http://www.codeproject.com/Articles/200079/All-in-One-Export-Data-in-ASP-NET
Thanks,
Rohit
我认为您正在寻找导出到pdf功能。查看下面的CP链接,了解如何导出为pdf。
[ ^ ]
I think you are looking for an export to pdf functionality . Check the CP link below to know how to export to pdf .
[^]