的ReportViewer参数 [英] reportviewer parameters

查看:148
本文介绍了的ReportViewer参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个的DateField一个WinForm。当用户选择的日期和提交,在页面上的ReportViewer花费的时间作为通过TableAdapter的一个参数,并显示该报告。

I have a winform with a datefield. When a user selects a date and submits, a reportviewer on the page takes the date as a parameter through the tableadapter and shows the report.

我需要的是一个方法,在报告上打印用户选择的日期。

What I need is a way to print the user selected date on the report.

有人可以告诉我如何从WinForm的到RDLC文件传递的价值,并使其对报告本身打印?

Can someone show me how to pass a value from the winform to the rdlc file and make it print on the report itself?

我想我会用一个报表参数,但我似乎无法找到如何做到这一点任何好的文档。 谢谢。

I assume I would use a report parameter, but I can't seem to find any good documentation on how to accomplish this. thanks.

推荐答案

检查的报表参数(的ReportViewer控件)和一个建议,请访问MSDN当你需要一些参考资料,因为如果你这样做,你会学到更多,更好。 ;)

Check Report Parameters (ReportViewer Controls) and one suggestion, visit MSDN when you need some references, because if you do it you will learn more and better. ;)

这篇关于的ReportViewer参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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