Unlike in Visual Studio once installing RDCL Reporting doesn't automatically add ReportViewer in the tool box. ReportViewer is used to display report in form or usercontrol. By the way for installing RDCL reporting in Visual Studio 2017, please read this link:
http://rani-irsan.blogspot.com/2021/05/installing-rdlc-report-in-visual-studio.html
ReportViewer control can be add to by NuGet Package, which means we need to add it in each project that need to use ReportViewer.
This is simple but we need to an internet connection for installing. First, open the project/solution in Visual Studio 2017 then open menu Tools --> NuGET Package Manager -> Manage NuGet Package for Solution....
Search using ReportViewer keyword (1), then choose ReportViewer for Visual Studio 2017 as image below (2). Don't forget to check the project name that will be installed with ReportViewer. l (3). Finally click Install button (4).
Preview Changes will be displayed, click OK then installing process will start.
After installed in NuGet Solution will show that report viewer has been installer.
Open a form or usercontrol to activate the Toolbox list. If it's not there yet, then right click then choose item.
On the .NET Framework Component Tab, search Microsoft.ReportViewer.WinForms version 12.0.0.0
The ReportViewer has been displayed in the Toolbox.
Double click to add it into form. And the result will be as below:
0 Comments