GRIDVIEW set different image for 1 command

buggiez

Member
Joined
Feb 7, 2006
Messages
18
Location
Singapore
Programming Experience
1-3
Hi i have a gridview and i had included a "delete" command. however, i would like the command to be displayed as an image (2 images in fact): "Delete" and "NoDelete" images.

the "gridview will display "Delete" according to the status of the data (Sent/Saved).

if the status is "saved", it will display the "Delete" image as the delete command,

else if the status is "Sent", it will display the "NoDelete" image as the delete command. (if possible i would like the command to be non-clickable for "NoDelete" image)

Anyone could help me with this? im not sure how i should go about doing it... :)

your help is very much appreciated. thanks again :)
 
Back
Top