当前位置:网站首页>Record -- about the method of adding report control to virtual studio2017 -- reportview control

Record -- about the method of adding report control to virtual studio2017 -- reportview control

2022-06-24 06:39:00 Cannon cannon~~

Record – About virtual studio2017 Method of adding report control

plug-in unit

First of all, the installation of plug-ins is necessary ,Visual Studio 2017 It's Microsoft. 2017 year 3 month 8 The new version officially launched on May , So far Most productive Of Visual Studio edition . Its built-in tools integrate .NET Core、Azure Applications 、 Microservices (microservices)、Docker Containers and everything .
 Insert picture description here
1、 Want to have Microsoft SQL Server Data Tools, This is checked during installation , If not, overwrite the installation again
2、 Want to have Microsoft Rdlc Report Designer for Visual Studio, without , Need to be in Expansion and update Install in , Need to restart after installation vs
3、 Want to have Microsoft.ReportingServices.ReportViewerControl.Winforms, without , stay VS Select the tool in the —》Nuget Package manager —》 Package manager console
Carry out orders :Install-Package Microsoft.ReportingServices.ReportViewerControl.WinForms -Pre ==
And then in VS Tools for —》 Select the toolbox item ——》NetFramework Next , choice “ Browse ”, Then in the project root directory
“\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.xx\lib\net40” Select under directory “Microsoft.ReportViewer.WinForms.dll”== file (.dll There will be many files , Pay attention to the choice )

 Insert picture description here
Anywhere in the toolbox , Right click , Click the selection item to add the control .

 Insert picture description here
As shown in the figure, the control is added successfully , If you find that dll If the file is added and the control does not come out, it may be yours dll Wrong file selection .
If you have any questions, you can leave a message or send a private message to me , Welcome to correct !!( Bow )

above !!

原网站

版权声明
本文为[Cannon cannon~~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206240019092820.html