我在 Google 上搜索了几天以在 .rdlc 数据报告上显示图像,但仍未找到解决方案。
我已经设置:
reportViewer1.LocalReport.EnableExternalImages = true;
图像属性为“外部”,并将参数值设置为值属性。
ReportParameter Path;
Path = new ReportParameter("Path", "C:\\Test\\579569.png");
this.reportViewer1.LocalReport.SetParameters(new ReportParameter[] { Path });
但我仍然得到一个破碎的形象。有什么我遗漏的吗?我正在 WinForms 中尝试这个。我知道这个问题是别人问的..但我没有得到我想要的结果。
提前致谢