gort
June 17th, 2002, 04:30 PM
ok so I'm writing something to query a SQL db and I want it to show a different image depending on a true/false value in a column. The examples on gotdotnet.com show something like this:
<xmp>
<asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "server_name") %>'/>
</xmp>
but I can't do any other statements to modify whats going in there. It's kind of hard to explain but if anyone can help that would be great
<xmp>
<asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "server_name") %>'/>
</xmp>
but I can't do any other statements to modify whats going in there. It's kind of hard to explain but if anyone can help that would be great