从桌面应用程序中的datagridview导出pdf报告 [英] Exporting a pdf report from the datagridview in desktop application

查看:163
本文介绍了从桌面应用程序中的datagridview导出pdf报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程的新手.我的项目是桌面应用程序,我们使用MYSQL作为数据库.现在我需要通过单击单个按钮(例如打印或导出)从应用程序中选择特定字段来导出pdf报告.转换为pdf.

请提供正确的编码,并让我知道要遵循的步骤....

我很快需要一个解决方案,请帮帮我....

I am new to the programming.My project is desktop application and we are using the MYSQL as the database.Now i need to export a pdf report by selecting the particular fields from the application on a single button click like print or export to pdf.

please give the correct codings and let me know the steps to be followed....

i need a solution soon pls help me....

推荐答案

如果您有打印方法,则只需安装即可使用该打印方法来创建pdf类似于cutePdf驱动程序(可以在此处下载 http://cutepdf.com/ [ http://www.windows-tech.info/3/b2748e5262b3cf0e.php [ ^ ]
If you have a print method, then you can use the print method to create a pdf by just installing something like cutePdf driver (can be downloaded here http://cutepdf.com/[^]). Then you should be able to force printing using cutepdf. I think this will work: http://www.windows-tech.info/3/b2748e5262b3cf0e.php[^]


这篇关于从桌面应用程序中的datagridview导出pdf报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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