1
<
asp:Image ID
=
"
imgRead
"
runat
=
"
server
"
ImageUrl
=
"
<%# imgUrl %>
"
/>
2
3 protected string imgUrl;
4 imgUrl = Info.IsRead == 0 ? " 0.jpg " : " 1.jpg " ;
5 imgUrl = " \\images\\ " + imgUrl;
2
3 protected string imgUrl;
4 imgUrl = Info.IsRead == 0 ? " 0.jpg " : " 1.jpg " ;
5 imgUrl = " \\images\\ " + imgUrl;