How do I use the ASP.NET ReportViewer with linq?
Posted on 2009-05-04
I am a complete novice when it comes to the ReportViewer control in ASP.NET 3.5. I was recently pointed to the ASP.NET Reports web site template in Visual Studio 2008. Unfortunately, I don't want to create an entirely new web site, I want to add a ReportViewer to my existing ASP.NET web site built using visual Studio 2008, is this possible? I also want to build my ReportViewer using a linq to sql data source, possible? My ideal situation would be to add another page to my current asp.net web site, drop a reportviewer control onto that page, build the backend data supplied to the report using joins and filters in linq, and somehow create two textbox controls on my reportviewer page that allows the user to supply dates (to and from dates) to my linq query in order to filter the frontend data...possible?