的ReportViewer参数参数、ReportViewer

由网友(走过一意孤行)分享简介:我有一个的DateField一个WinForm。当用户选择的日期和提交,在页面上的ReportViewer花费的时间作为通过TableAdapter的一个参数,并显示该报告。I have a winform with a datefield. When a user selects a date and submit...

我有一个的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. ;)

阅读全文

相关推荐

最新文章