What data type is ImageData? Error Msg: "not a valid ImageData"

  • For an image on a report I am pulling a byte array from a custom assembly. Behind the scenes, the custom assembly makes a database call and pulls the image from a varbinary(max) column.

    The image displays fine, but the report generates two warnings that "The Value expression used in image X returned a data type that is not valid" and "The value of the ImageData property for the image is X, which is not a valid ImageData."

    My question is what data type can I cast the byte array to in order to get rid of that warning message? Thank you.

  • This error message seems to have gone away after restarting Visual Studio. Perhaps it was some caching issue.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply