简体   繁体   中英

Not able to create 'reportviewer' Visual Studio 2022

In beginning 'reportviewer' was not showing in toolbox than i installed "Microsoft RDLC Report Designer" from this link "https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftRdlcReportDesignerforVisualStudio-18001" then I got reportviewer in toolbox but now when I want to add reportviewer to the form but it shows this error the moment I drag and drop the report viewer from toolbox to form.

The report viewer does not come with the designer but is a NuGet package you can add on.

Right click on you project (or solution) and select Manage NuGet Packages.

Install the package for the type of project you creating, for example:

Microsoft.ReportingServices.ReportViewerControl.WebForms Microsoft.ReportingServices.ReportViewerControl.WinForms

etc...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM