参考的下文这个方

法目前报表的状态

在VS2008中,用RDLC报表显示每次查询出来的外部图片,报表目前可以显示出存储在ACCESS数据库中的图片的绝对路径。按照网上方法的建立参数,拖入image控件等,还是显示不出来。我写的程序如下: this.reportViewer1.LocalReport.EnableExternalImages = true;
ReportParameter[] image = new ReportParameter[1];
string path = Path.GetDirectoryName
(Application.ExecutablePath) + "\\picture1\\" +
Path.GetFileName(open.FileName);
//所有的图片都存储在pictue1文件夹中。
image[0] = new ReportParameter("pictuzhi", path);
this.reportViewer1.LocalReport.SetParameters(image);
this.reportViewer1.RefreshReport();
如若不对请问该怎样编写,谢谢。