用户单击按钮时打印报告。 [英] Get Report Printed When User Clicked A Button.

查看:58
本文介绍了用户单击按钮时打印报告。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨伙计..!需要一个大的收藏.... !!



我正在做一个关于C#的项目。在其中我必须打印一份报告...... !!



#报告设计部分已完成。

#二手.rdlc报告并将其加载到reportviewer。



一切正常。当用户单击打印按钮时,将打开一个单独的WinForm,它会向用户显示预期的报告。如果用户需要将其打印出来,他再次需要点击ReportViewer中的打印按钮。>>>



我需要什么你是一种没有向用户显示包含ReportViewer的WinForm的方法。使用我的报告当使用时打印出来点击打印按钮,在那里他输入要打印的数据.... !!



在此先感谢.. .. !!!



###也没有任何Dialog提示用户INPUT ...... !! ##

解决方案

MS有一个演练,向您展示如何打印没有预览的rdlc报告,您可以在案例中使用它。这是一个链接 http://msdn.microsoft.com/en-us/library/ms252091.aspx [ ^ ]

hi guys..! Need a big big fav....!!

I'm doing a project on C#. In it I have to get a report printed...!!

# The Report designing part is done.
# Used .rdlc reports and it is loaded to reportviewer.

Everything works fine. When the user clicked "Print" button, a separate WinForm is Opened and it displays the expected Report to the user. If the user needs to take it printed out, he again need to click the "Print" button in the ReportViewer.>>>

What I Need from You is a way that without Showing the WinForm which contains the "ReportViewer" to the user. To take my Report Printed out when the used click the "Print" button where he enter the data to be printed....!!

Thanks in advance....!!!

### Also without any Dialog Prompting to take user INPUT...!! ##

解决方案

MS has a walkthrough that shows you how to print a rdlc report without preview that you can use in your case. Here is the link http://msdn.microsoft.com/en-us/library/ms252091.aspx[^]


这篇关于用户单击按钮时打印报告。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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