如何在c#windows Application中将datagridview导出为pdf [英] how to export datagridview to pdf in c# windows Application

查看:129
本文介绍了如何在c#windows Application中将datagridview导出为pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在C#Windows应用程序中将Datagridview导出为pdf

I would like to Export Datagridview to pdf in C# Windows Application

推荐答案

您可能会找到一些可以为您导出pdf的DataGridView的商业替代品,但您可以轻松(取决于您在网格中显示的内容)使用pdf工具(如 iTextSharp )生成PDF格式的表格,其中包含您显示的内容
You might find some commercial replacement of DataGridView that can export pdf for you, but you could easily (depend on what you show in the grid) generate a table in pdf with the content you show by using pdf tools like iTextSharp


For Winforms:

使用Reporting Services报告生成将DataGridView导出为Excel / PDF /图像文件 [ ^ ]

使用ITextSharp库将GridView导出为PDF文档 [ ^ ]
For Winforms:
Exporting a DataGridView to an Excel/PDF/image file by using Reporting Services report generation[^]
Exporting GridView to PDF Document using ITextSharp Library[^]


这篇关于如何在c#windows Application中将datagridview导出为pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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