Click here to Skip to main content
15,887,341 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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#
Posted
Comments

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900