Home All Groups Group Topic Archive Search About

How to bind Images as business objects in a ReportView Report

Author
12 Jul 2006 1:23 PM
dgcooper
I have an Image type business object that I would like to bind to a
ReportViewer Report Image control, but I can't get it to work.  All my other
types are working.

In my code I assign an jpeg image using the Image.FromFile method.  I get no
errors, but all I get on my report is the red X.

For the Image control, I have the MIMEType set to image/jpeg and the Source
set up as Database.  My value is set to "=Fields!CompanyImage.Value" where
"CompanyImage" is the Property name for the Business Object that I created.

Does anyone have any suggestions?

Thanks

AddThis Social Bookmark Button