Last post Jun 29, 2011 06:29 AM by You-Hu Fu
Jun 21, 2011 03:02 PM|Abbas Rizvi|LINK
Is there any way to get the list of parameters including any list of values or anything else in an ASP.NET web page (C#). I am trying to construct a page where the user can reference multiple reports from SSRS 2008 R2; select parameters for each report
and then run them with one click. Also they should be able to save their selections so they do not have to select the parameters every single time. I should also point out that the reports have a varying number of parameters of an assorted type (text box,
datetime, LoVs, etc.)
Any help in pointing me to the right direction will be greatly appreciated.
Jun 22, 2011 12:26 AM|Ashutosh Pathak|LINK
you just need to create a lit like below: where you can pass the parameters to the report, whatever you want to pass as a parameter to a particular report you can pass, for preserving the values, asp.net viewstate mode is always there, so you just create
server controls for passing your parameters, and based on the click of your retrieve button, set the report path in reportviewer control. and then pass the parameter report requires as below:
hope it will help
Jun 22, 2011 02:55 AM|Abbas Rizvi|LINK
Thanks Ashutosh. That is a start at least. Will try it tonight and post back with any progress I might make.
Jun 29, 2011 06:29 AM|You-Hu Fu|LINK
What's the process currently? I think it should work, I mark it as answer, if you have any feedback, please feel free to let us know.