Visual Studio Community 2017在工具栏中没有报表查看器,并且在解决方案中添加新项目时报表 [英] Visual Studio Community 2017 does not have report viewer in tool bar and report in adding new item from solution
问题描述
我已经尝试了很多解决方案,下面的工作,我试图从nuget包添加和安装它,但它只适用于工具栏,我试图从程序和功能> vs>修改安装sql数据工具。但似乎我已经安装了sql
数据工具,有没有永久的解决方案呢?我听说人们在2013年使用报告查看器没有任何问题,并且不需要任何额外的安装,为什么在2017年会发生变化?
Hi Ender .S,
对于您的问题,请从Manage Nuget Packages安装Microsoft.ReportViewer.WinForms。然后右键单击工具箱中的所有Windows窗体>选择项目。请按照gif中的步骤进行操作。
您安装的DLL位于当前项目包文件夹中。选择它之后,您可以在工具箱中使用此ReportViewer控件。
如果您想了解有关此控件的更多信息,请查看MSDN文章。
最好的问候,
Wendy
I have tried a lot of solution, nether of it work, i tried to add and install it from nuget package, but it only work for toolbar, i tried to install sql data tools from program and features>vs>modify. But it seems like i already installed the sql data tools, is there any permanent solution for it? i heard that people using the report viewer in 2013 without any problem and does not require anything extra installation, why is it changing in 2017?
Hi Ender .S,
For your question, please install Microsoft.ReportViewer.WinForms from Manage Nuget Packages. And then right click All Windows Form in Toolbox> Choose Items. Please follow the steps in gif.
The dll you installed is in the current project package folder. After select it, you could use this ReportViewer control in Toolbox.
If you want to know more about this control, you would like to check the MSDN article.
Best Regards,
Wendy
这篇关于Visual Studio Community 2017在工具栏中没有报表查看器,并且在解决方案中添加新项目时报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!