asp.net - change an individual image in a gridview depending on a value -
i have 2 tables assignment , feedback, in gridview displays assignments, assignments feedback. im wanting change view feedback button in gridview depending on if there new feedback example:
the feedback table has state field in when 1 want image button change 1 +
thanks in advance houlahan
on itemdatabound event can can change image's url
image img = (image)e.item.findcontrol("imgid"); img.navigateurl = "~/images/othersource.png";
Comments
Post a Comment