Image in Datagrid cell
I want in one of the cells in the datagrid to show a "fire" image based on the status field in the database. The value of this field in the database is "Hot" or "Not". If it is "Hot", I want to show the fire image instead of the word "Hot" and nothing if it is "Not".
What is the best way to achieve it. Is it something that I have to do in prerender event? Like insert the image before the page is loaded. Any reading material or link would be helpful.
Thanks
Renu
|