Template Column in datagrid
hi
I have to add a column in datagrid which should contain an image. The image to be inserted depends on the value in another column in same datagrid. e.g
if value is 0 then red image is to be inserted
if 1 then blue image etc.
how to insert the image in template column?
how to insert image according to the value in other column?
|