Populate Report Viewer with Values from a Web Page with C#

I have a database table with the following fields:
UserID
FirstName
LastName
City
State
Zip
Gender
Hobby

I have a web page of which this table is the data source with on the fields:
Gender
Hobby
UserID

I want to use the values on the web page to populate report viewer with all the records in the table where gender, hobby and UserID equals the values on the web page.
The report can populate with either one, two or all three of the values.

Right now these values are in one session variable (oUserSources) that is not working.

Can someone help me with this?

Thanks!
jordanhelenAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ValentinoVConnect With a Mentor BI ConsultantCommented:
You'll need to create those three report parameters on your report, then pass in the values as applicable.  You report's dataset will need to take those parameters into account.

More info: http://msdn.microsoft.com/en-us/library/ms155917.aspx

Setting the values in ASP.NET: http://stackoverflow.com/questions/3155215/how-can-i-pass-a-parameter-from-asp-net-to-ssrs-report
0
 
jordanhelenAuthor Commented:
No comments.
0
 
jordanhelenAuthor Commented:
No comments.
0
All Courses

From novice to tech pro — start learning today.