I want to pass PictureBox to rdlc report, but I get this error [cannot convert from 'System.Drawing.Image' to 'string'][1] private void ReportPrintDes_Load(object sender, EventArgs e) { pictureBox1.Image = picQr; pictureBox2.Image = picQr2; reportViewer1.LocalReport.EnableExternalImages = true; ReportParameter img = new ReportParameter("img", (pictureBox1)); this.reportViewer1.RefreshReport(); } Is there any way to change PictureBox(image) to string, or another way to pass PictureBox to rdlc report? [1]: https://i.stack.imgur.com/XMKOe.png
pictureBox1.Image.Save(@"C:\Temp\Mypic.jpg",ImageFormat.Jpeg);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)