In this article you will learn about combining ASP NET MVC with SQL Server Reporting Services.
IntroductionThere is no control for Report Viewer in MVC, so we cannot view a report using MVC applications. Most business applications have report requirements. In article, I will explain the work around to make it happen. Here I will assume that we already have a report server with some test report.Report server folder structure: MVC does not provide a Report Viewer control so we need to add a classic web form page to our MVC application. The recommendation is to place this form outside of the view folder so that we don't need to register or ignore the route. In this classic web form page, we need to add the following two controls:
ReportViewer.aspx code
The following is the show report function:
ASP.NET MVC 5 Recipes: A Practical Solution