ShawnMolloy
MIS
Why can't I do something like this, or I should say "How" can I accomplish this kind of comparision withing a databound list control?
Shawn Molloy
Seattle, WA
Code:
<asp:Repeater ID="dl_Albums" runat="server">
<ItemTemplate>
<div class="album">
<%# if (DataBinder.Eval(Container.DataItem, "AlbumId") == 3)
{ %>
Some Text Is Written!
<% } %>
</div>
</ItemTemplate>
</asp:Repeater>
Shawn Molloy
Seattle, WA