Hi,

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"))
        Me.ReportViewer1.LocalReport.SetParameters(paramList1)

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

Is the type of Parameters!Path a string?

Sorry, I don't know. That was my only idea.