把属性里面的 Source 设置成External,
Vaule设置成参数的值 ‘=Parameters!img.Value’,
然后在cs源文件里面添加如下方法传参数
ReportParameter[] image = new ReportParameter[1];
string path = "file:///" + Application.StartupPath + "//image.jpg";
image[0] = new ReportParameter("image", path);
this.reportViewer1.LocalReport.SetParameters(image);
注意 "file:///" + Application.StartupPath + "//image.bmp";
比如图片路径是 D:/image.bmp
则应该写成“file:///D:/image.bmp”