Visual Studio Developer Center > Visual Studio Forums > Crystal Reports for Visual Studio > add image file to crystal report from sql server 2000
Ask a questionAsk a question
 

Answeradd image file to crystal report from sql server 2000

  • Tuesday, November 03, 2009 5:37 AMkdmagz Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    In my project i need to include the image files into details section of the crystal report and i will be having those images in a table in the sql server 2000 database as image fields..and im doing this in c#(VS 2008)..so can anyone help on this one..

Answers

  • Monday, November 09, 2009 2:45 PMRupert Davis Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Harry this is not the issue,

    The sample you point to uses a datastream to display an image in the viewer background not in the report itself.

    If you have the data in SQL stored as SQL Type Image then you can simply insert the table field into the Crystal report and Crystal should do the conversion for you and display the images in the report.

    I've just tested this with a dataset with images in and it works fine out of the box.

    Regards

    Rupert
    the problem is not what you don't know it's what you think you know that's wrong

All Replies