在asp.net C#中将数据导出为PDF [英] Export Data to PDF in asp.net C#

查看:57
本文介绍了在asp.net C#中将数据导出为PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C#中将数据导出为PDF文件,我正在寻找dll,

How to export data to PDF file in C#, I am looking for dlls,

推荐答案

不确定是否有任何直接的.Net功能可以将数据导出到PDF文件。



有几种方法可以实现相同的目标

1.使用Crystal Report并创建要导出的报告然后写为PDF

2.使用iTextSharp:免费版和收费版都在 http://sourceforge.net/projects / itextsharp [ ^ ]。



3.最后,看一下关于CP的文章将数据导出到Excel,Word,PDF而不使用DataBase自动化 [ ^ 。这可能有助于将网格输出为pdf。



希望有所帮助

Milind
Not sure if there is any direct .Net functionality to export data to PDF file.

There are couple ways to achieve the same
1. Use Crystal Report and create report that you want to export and then write as PDF
2. Use iTextSharp: Both free and chargeable version is at http://sourceforge.net/projects/itextsharp[^].

3. Finally, have a look at article on CP at Export Data to Excel, Word, PDF without Automation from DataBase[^]. This may help to export grid to pdf.

Hope that helps
Milind


检查这个链接可能对你有所帮助......



如何使用c#将数据导出为PDF [ ^ ]

http://www.dotnetspider.com/forum/301724-Export-data-pdf-word-excel-c- .net.aspx [ ^ ]
Check with this links it might be helpfull to you...

How to export data to PDF using c#[^]
http://www.dotnetspider.com/forum/301724-Export-data-pdf-word-excel-c-.net.aspx[^]


检查这个

http://www.aspdotnet-suresh.com/2011/04/how-to-export-gridview-data-to- pdf.h tml [ ^ ]


这篇关于在asp.net C#中将数据导出为PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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