Displaying image in RDLC

Posted by stackBest2 on Stack Overflow See other posts from Stack Overflow or by stackBest2
Published on 2010-12-26T12:51:45Z Indexed on 2010/12/26 12:54 UTC
Read the original article Hit count: 165

Filed under:
|
|

I am working on a c# windows application. My problem is, I have stored jpg images in a folder. I need to retrieve the image from that folder and should display in the report(rdlc). I have written the following code but the image is not displaying.

       List<ReportParameter> param = new List<ReportParameter>();
        param.Add(new ReportParameter("path", @"C:\picture\1.jpg"));
        reportViewer1.LocalReport.SetParameters(param);

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms