Display image on rdlc report viewer

Posted by Mirzamujib under VB.NET on 8/14/2012 | Points: 10 | Views : 3874 | Status : [Member] | Replies : 0

I've problem in displaying image on my rdlc (Microsoft Report Viewer) report. I took picture box on my report and made its properties as SOURCE=EXTERNAL, VALUE=Parameters!Path.value where Path is my Report Parameter.

Below is the code to display image on Report load event:

Dim paramList1 As New Generic.List(Of ReportParameter)
paramList1.Add(New ReportParameter("Path", "+ /images/CPC.jpg"))

I'm facing problem on the second line of my code i.e. " + /images/CPC.jpg"

Plz help me, I'm stuck here.

Following is the error:

Conversion from string " /images/CPC.jpg" to type 'Double' is not valid.

Thanks .


(No response found.)

Login to post response