ASP.NET C# and SQL 2008: Problems & Solutions
Wednesday, 17 April 2013
ASP.NET C# Short Expression
<asp:Image ID="img1" ImageUrl='<%# (Eval("YourColumn").ToString()==1)? "Image1-url": "Image2-url %>' runat="server" />
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment