By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,326 Members | 838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,326 IT Pros & Developers. It's quick & easy.

Report Viewer with business ojbect data source + images

P: n/a
I'm using a report viewer local in to display information from a
business object.
I have a header, footer and Image Field
The header and footer work fine but the image does not display.
I have set the image to be database (didn't think it was external or
embedded). But I get the following error (and the image does not

Warning: The Value expression used in image 'image1' returned a
data type that is not valid. (rsInvalidExpressionDataType)
Here is my class (very simple)
Public Class TestImageOnReport

Private imImage As Image
Private strHeader As String
Private strFooter As String

Property Image() As Image
Return Me.imImage
End Get
Set(ByVal value As Image)
Me.imImage = value
End Set
End Property

Property Header() As String
Return Me.strHeader
End Get
Set(ByVal value As String)
Me.strHeader = value
End Set
End Property

Property Footer() As String
Return Me.strFooter
End Get
Set(ByVal value As String)
Me.strFooter = value
End Set
End Property
End Class

Any help would be really appreciated
Dermot French

Nov 3 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.