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