Welcome Guest Search | Active Topics | Sign In | Register

Image URL from Database to show image in Grid Options
Simon
Posted: Wednesday, September 7, 2011 8:59:07 AM
Rank: Member
Groups: Member

Joined: 8/19/2011
Posts: 15
Is this possible, I just want the image to be displayed in the first column of a grid, the data will be coming from a SqlDataReader, I have tried searching the forums but not found anything regarding an example or any other way of doing this.

Thanks for the great support.
Simon.
eo_support
Posted: Wednesday, September 7, 2011 11:12:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

To show image in a Grid cell, you would usually provide the image Url from your data source, then use the Column's DataFormat property to format it into an img tag. See here for more details:

http://www.essentialobjects.com/forum/postst3284_Picture-in-grid-cell.aspx

Hope this helps. Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.