Display Image based on URL in field

2 posts, 1 answers
  1. Allan
    Allan avatar
    121 posts
    Member since:
    Jun 2008

    Posted 17 Jul 2009 Link to this post

    I am using a simple Access database. One of the fields contains URLs to images. IE: http://www.company.com/images/photo.jpg

    Is there a way to have the image display in the column rather than the text of the field?


  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 Jul 2009 Link to this post

    Hi Allan,

    You can use GridImageColumn in order to display image for cell. Set the DataImageUrlFields property to a field in the source that can be used to supply the image path and format it by setting the DataImageUrlFormatString property. Checkout the following link to know more about GridImageColumn.
    Column types
    GridImageColumn Class Members

  3. DevCraft R3 2016 release webinar banner
Back to Top