This is a migrated thread and some comments may be shown as answers.

Display Image based on URL in field

1 Answer 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Allan
Top achievements
Rank 2
Allan asked on 17 Jul 2009, 09:10 PM
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?

Thanks,

Allan

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 20 Jul 2009, 04:36 AM
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

-Shinu.
Tags
Grid
Asked by
Allan
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or