Click here to Skip to main content
16,020,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to add an external image to rdlc. I did something but picture couldn't be seen.I have created a new parameter. I called it Image. Then I have added an image from toolbox and choose external on popup then clicked fx. Then I entered

=Parameters!Image.Value

Then on my form I wrote:
C#
reportViewer1.LocalReport.EnableExternalImages = true;
ReportParameter parameter = new ReportParameter("Image", "logo.bmp");
reportViewer1.LocalReport.SetParameters(parameter);
 
this.reportViewer1.RefreshReport();
Posted
Updated 4-Jan-15 1:27am
v3

1 solution

Check this out: external image in rdlc[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900