Posted on: 11/10/2014 7:56:46 PM | Views : 476

I've a datalist
<asp:DataList ID="dlContacts" runat="server" RepeatLayout="Flow" RepeatColumns="6" CellPadding="2" CellSpacing="2" RepeatDirection ="Horizontal" > <ItemTemplate> <div class="pChild"><%# Eval("ChartVal") %></div> </ItemTemplate> </asp:DataList> When I bind it, there is one more column "RedTag" in db.  If RedTag =1 then I've to change forecolor to Red.   How can I do this?

Go to the complete details ...