【问题标题】:"The type or namespace Reporting does not exist" in WinForms projectWinForms 项目中的“类型或命名空间报告不存在”
【发布时间】:2021-04-06 17:15:36
【问题描述】:

类型或命名空间报告在 windows 窗体中的命名空间 microsoft 中不存在。 单击错误时将显示以下代码

'''public Microsoft.Reporting.WinForms.ReportViewer reportViewer1;'''

【问题讨论】:

标签: c# winforms report reporting viewer


【解决方案1】:

您可以通过右键单击解决方案资源管理器中的引用并从程序集中的扩展中添加 Microsoft.ReportViewer 引用来实现。

参考 > 添加参考 > 程序集 > 扩展 > Microsoft.ReportViewer

希望它有效。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-16
    • 2018-08-01
    • 2020-05-31
    • 1970-01-01
    • 2012-06-19
    • 1970-01-01
    相关资源
    最近更新 更多