【发布时间】:2023-01-26 07:06:39
【问题描述】:
在我的 Xaml 代码中,我试图以这种方式添加 ReportViewer 控件:
<WindowsFormsHost Height="410" Width="749">
<rdlcreport:ReportViewer x:Name="_reportviewer" />
</WindowsFormsHost>
但是我有以下消息的例外:WPF 项目不支持 ReportViewer。我该如何解决这个问题?我正在使用 VS2022 和 C# WPF。谢谢你的帮助。
【问题讨论】: