从下拉列表中选择用户时,将显示rdlc报告详细信息 [英] rdlc report detatils display when user is selected from drop downlist

查看:75
本文介绍了从下拉列表中选择用户时,将显示rdlc报告详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AOA,我有一个网络应用程序,我创建了rdlc报告,工作正常。

i想要创建一个新表单,其中我有一个下拉列表,所有员工从数据库获取所有这些数据都是使用sql数据库输入的,并且对于rdlc报告数据集工作正常。

当从下拉列表中选择该员工时,如何在该页面上显示用户的rdlc详细信息。使用c#

AOA,i have a web application,and i have created rdlc report that works fine.
i want to create a new form in which i have a drop down where all employee are getting from database along all of them data is enter using sql database and for rdlc report dataset are working fine.
how can i show rdlc details for user on that page when that employee is selected from the drop down list.using c#

推荐答案

有不同的方法可以做到这一点,所以你必须决定并继续前进。



首先,您需要将员工作为参数添加到报表中。

然后您可以使用ReportViewer控件和使用下拉列表中的值传递参数,或者您可以使用该报告的URL并以此方式传递参数。



一个示例:http://msdn.microsoft.com/en-us/library/ms155391.aspx [ ^ ]



如果你决定走哪条路,可以在网上找到更多的例子。
There are different ways to do it so you'll have to decide and them move forward.

First, you'll need to add the employee as a parameter to your report.
Then you can either use the ReportViewer control and pass in the parameter using the value from the drop down or you can use the url to the report and pass the parameter that way.

One example: http://msdn.microsoft.com/en-us/library/ms155391.aspx[^]

Many more examples online if you decide which way to go.


这篇关于从下拉列表中选择用户时,将显示rdlc报告详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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