locked
problem-MicrosoftReportViewer RRS feed

  • Question

  • User1707988136 posted

    hi my friends

    i have designed a report in vs2008 & sqlserver2005(MicrosoftReportViewer) but my database images are displayed as address

    what's the problem?

    (in a DataBound control such as GridView my images are displayed correctly)

     

    Wednesday, April 27, 2011 5:04 AM

Answers

All replies

  • User1471008070 posted

    Hi,

    A report can include images from external locations, from database tables, or from binary images embedded in the report definition. For external images and data-bound images, you must verify that the image exists and that the report user has permissions to access the image.

    To your scenario, you should add an image control to your report, then set its image source.

    For detail information about How to: Add an Image (Reporting Services), please see: http://msdn.microsoft.com/en-us/library/ms156388.aspx 

    Thanks,
    Challen Fu

    Thursday, April 28, 2011 3:54 AM
  • User1707988136 posted

    Thanks a lot for your guidance....when i added image control from toolbox to my report and set:  source=database & mime type=image/gif & vlue=Fields!avatar.Value  my image Not shown

    IN DATASET MY COLUMN'S DATA TYPE IS System.String

     

    Thursday, April 28, 2011 2:15 PM
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 3, 2011 4:15 AM