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.


Recommended Answers

Is the type of Parameters!Path a string?

Jump to Post

All 3 Replies

Is the type of Parameters!Path a string?

Its a string...

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.