我搜索谷歌几天来在.rdlc datareports上显示图像,但仍未找到解决方案.
我设置:
reportViewer1.LocalReport.EnableExternalImages = true;
图像属性为"外部",并将参数值设置为value属性.
ReportParameter Path;
Path = new ReportParameter("Path", "C:\\Test\\579569.png");
this.reportViewer1.LocalReport.SetParameters(new ReportParameter[] { Path });
Run Code Online (Sandbox Code Playgroud)
但我仍然得到一个破碎的图像.有什么我想念的.我在WinForms中尝试这个.我知道这个问题是别人问的.但是我没有得到我想要的结果.
提前致谢