Search code examples
vb.netms-accesscrystal-reports

display image in crystal report using physical path


i am using vb.net and access. in which i have one field in which i have saved only the path of that image. Now i want to display that image in crystal report dynamic.so what should i do? i want to fetch the image path in crystal report and display in it.

please try to show me a code so i can identify

reply me soon

thanks


Solution

  • Don't use physical paths with CR directly. Store your image in a datatable or in a binary field of your database and show that.

    Here is a code project solution that uses datatables:

    http://www.codeproject.com/KB/vb/Image_in_Crystal_Reports.aspx

    It's simple, C# and a little old, but I think you get the trick.