Дисплей изображения в элемент с параметром
Good evening, I try to display an image in a reportViewer from a send path as a parameter. But the result I get is an image in <a href="http://csharpcorner.mindcrackerinc.netdna-cdn.com/forums/uploadfile/a5b007/11152016134705PM/2016-11-15_194350.jp"> X form</a>
Что я уже пробовал:
public partial class PrintFiche : Form { public PrintFiche() { InitializeComponent(); } private void PrintFiche_Load(object sender, EventArgs e) { reportViewer1.LocalReport.ReportPath = "D:\\workspace\\Report\\FichePersonne.rdlc"; ReportParameter lim = new ReportParameter("image",@"C:\Documents and Settings\Mes images\Échantillons d'images\Collines.jpeg", true); reportViewer1.LocalReport.EnableExternalImages = true; reportViewer1.LocalReport.SetParameters(new ReportParameter[] {lim} ); this.reportViewer1.RefreshReport(); } }