I can see that there are many questions already being asked regarding the same thing like:
Binding a datasource to a rdl in report server programmatically - SSRS
SSRS using Xml datasource [WCF], its possible, but is it advisable?
and many others...
But, what I really want is to have your valuable opinion before I start something and finally find myself at a dead-end !
We are developing reports in BIDS SSRS 2008 environment, VS 2010 for a Web application.
with ReportViewer 10 having ProcessingMode="Remote"
Until now, everything was ok.. passing parametetes to report, integration with asp.net etc. I mean, getting the data through SQL queries (and sometimes filtering through paramters). I could use Stored Procedures and all is working fine.
But now, there are reports which need to be generated dynamically, based on the user selection of the data from front-end, (a GridView ), on an asp.net webpage, and then display that data on the report.
That is, if a user selects 10 rows on a GridView and clicks the print button, then only those 10 rows (along with some other report specific data) should be displayed in the report. That's what we have in the legacy system, which we are upgrading now.
and of course, this cannot be achieved merely through passing the parameters, because selection of data on the GridView depends all on the user, and is all dynamic. .. there I am in a fix now!
So, what can be the best approach for these kinds of situations?
P.S (Edit): there are solutions out there but they are more pertaining to .rdlc , and I am talking about .rdl