Reportviewer datasource in asp.net-mvc

Vikas picture Vikas · May 19, 2009 · Viewed 10.8k times · Source

How do I integrate ReportViewer in asp.net MVC project?

I want to add business objects of MVCProject.Model namespace. ReportViewer allows Business objects of DataSet.

Is it possible to choose other data source, like LinqDataSource, or Direct object to LINQ-to-SQL class objects?

What would be the best solution to add reports in an MVC project?

Answer

Shiraz Bhaiji picture Shiraz Bhaiji · Sep 17, 2009

An alternative way to do this would be to generate the report on the reporting server, then stream it to the mvc app as a PDF.