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
Hi,
I'm using a report viewer local in vb.net 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
display).

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
Get
Return Me.imImage
End Get
Set(ByVal value As Image)
Me.imImage = value
End Set
End Property

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

Property Footer() As String
Get
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
Regards,
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.