在不使用reportviewer组件和dll的情况下打印RDLC报告 [英] printing RDLC report without using reportviewer component and dlls

查看:74
本文介绍了在不使用reportviewer组件和dll的情况下打印RDLC报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在不使用reportviewer组件和dll的情况下打印RDLC报告,并且如果可能的话,怎么做?

Is it possible to print RDLC report without using reportviewer component and dlls and if possible how?

推荐答案

>>是否可以在不使用reportviewer组件和dll的情况下打印RDLC报告,并且在可能的情况下如何打印?

>>Is it possible to print RDLC report without using reportviewer component and dlls and if possible how?

可以做到.使用 LocalReport 对象和

It can be done. Using the LocalReport object and the PrintDocument  print RDLC file directly without Preview. The LocalReport object can open client report definition (RDLC) files from the file system or from embedded resources, or the RDLC file can be supplied to it as a Stream or a TextReader. The PrintDocument can sends output to a printer.

更多详细信息,请参阅MSDN演练:在不预览的情况下打印本地报告

More detail please refer to the MSDN Walkthrough:Printing a Local Report without Preview

希望这对您有所帮助.

Hope this can be helpful to you.

最好的问候,

鲍勃


这篇关于在不使用reportviewer组件和dll的情况下打印RDLC报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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