Visual Studio 2019 报表RDLC设计器与工具箱中Report Viewer问题

默认没有ReportDesigner/ReportViewer

ReportViewer:

1.在 Nuget 下载:
Microsoft.ReportingServices.ReportViewerControl.Winforms
Microsoft.ReportingServices.ReportViewerControl.Webforms

https://docs.microsoft.com/zh-cn/sql/reporting-services/application-integration/integrating-reporting-services-using-reportviewer-controls-get-started

2.工具箱中点右键,选择“选择项”,在.net framework组建选项卡中选择“浏览”,然后在你的工程根目录下的“\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.150.1358.0\lib\net40”目录下
选择“Microsoft.ReportViewer.WinForms.dll”文件
或者 在“\packages\Microsoft.ReportingServices.ReportViewerControl.WebForms.150.1358.0”目录下
选择“Microsoft.ReportViewer.WebForms.dll”文件
,然后report viewer就被顺利添加到你的工具箱里了!


RDLC 报表设计器

1. 点击Tools(工具) -> Extensions and Updates...(扩展和更新) ->联机 搜索 rdlc,结果中找到Microsoft Rdlc Report Designer for Visual Studio后进行安装(根据提示,应该是要关闭VS2017后再自动安装)。

2.在项目->添加新项的弹出窗口中,Visual C# 项中,选择 "報表" 或者 "報表精靈",如下图,选报表即可编辑报表

 

  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值