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:

enter image description here

enter image description here

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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -