How to display image in a column in data table ?

How to display image in a column in data table ?

bibhubibhu Posts: 1Questions: 0Answers: 0
edited August 2011 in General
I am binding data tables to a gridview in asp.net. I have a buttonfeild column in the gridview where i want to show an image instead of any text.
But data tables are not showing the images in the coresponding column. How can i achieve that. Please help.

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    All you need to do is just put in the tag like you normally would in any other table. It is treated as HTML and this will be displayed as such.

    Allan
This discussion has been closed.