用选定的日期填充报告查看器 [英] populate report viewer with selected date

查看:52
本文介绍了用选定的日期填充报告查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

有一个dateTimePicker和一个报表查看器...我需要根据选择的日期填充报表查看器.

Hi guys

Have a dateTimePicker and a report viewer...I need to populate report viewer according to selected date. how can i do that with dataset?

推荐答案

您可以使用选择的日期作为参数并过滤数据集,最后将其附加到报表数据源. http://msdn.microsoft.com/en-us/library/ms152917.aspx [ ^ ]
You can use the date selected as parameter and filter the dataset and eventually attach it to the report data source. http://msdn.microsoft.com/en-us/library/ms152917.aspx[^]


您可以将参数传递到报告视图.您可以在 ^^^ 中学习此链接.

希望对您有所帮助,
Theingi Win
You can pass the parameter to report view. You can study in ^^^ this link.

Hope be helpful,
Theingi Win


您可以根据日期过滤数据集
you can filter the dataset according to the date


这篇关于用选定的日期填充报告查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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