Click here to Skip to main content
16,021,211 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have created microsoft report viewer to generate reports my data set include table like this
-------------------------------------------------------------------------------
physics | chemistry | biology | session | name | roll no
12 | 14 | 15 | 2007 | ali | 2
14 | 5 | 25 | 2006 | majid | 3
15 | 25 | 14 | 2007 | usman | 3
-------------------------------------------------------------------------------
i want to display records based in report based on session..
i have dropdownlist for session when i select 2007 it will give the records of 2007 in report viewer when i select 2006 in dropdownlist it should give only the records of 2006 only in report viewer..
how can i do this
Posted
Updated 5-Nov-12 18:26pm
v2

1 solution

Hi,

Try getting the dataset based on the selection and then bind the dataset to your report.

Dynamic Binding Of RDLC To ReportViewer[^]

http://www.vbdotnetheaven.com/uploadfile/mahesh/building-reports-from-a-dataset-using-reportviewer/[^]

hope this helps.
 
Share this answer
 
v2

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