Adding Report Viewer into WinForm (Desktop) Application in Visual Studio 2019 Community Edition

ReportViewer will be needed if you working with RDLC reporting. But this control doesn't automatically installed with Visual Studio 2019 Community Edition although we've installed the RDLC Reporting like I did on this post:

https://rani-irsan.blogspot.com/2021/10/installing-rdlc-report-in-visual-studio_27.html

How to add Report ReportViewer control to Visual Studio 2019 Community Edition? This ReportViewer control must be added manually to each project we made with NuGet Package. It's a simple process but we need internet connection to do it.

First of course we need to open the project/solution to be added with ReportViewer. Then click menu Tools --> NuGET Package Manager -> Manage NuGet Package for Solution....


Search using "ReportViewer.WinForm" keyword (1), then choose the one is for Visual Studio 2019, as below image. Don't forget to check all name of project in solution that using ReportViewer(3). Finally Click Install button (4).


Preview Changes will appear, click OK then installation will start.


After installation process finished it displayed status that it's been installed.


Open a form or user control to activate Toolbox list then check on the list ToolBox. It display a new group of Microsoft SQL Server which contains ReportViewer.



Post a Comment

0 Comments