<table> <tr> <td class="tdHeaderDoc"> <table> <asp:Repeater ID="rptStatusReport" runat="server" ClientIDMode="AutoID"> <ItemTemplate> <%# (Container.ItemIndex + 3) % 3 == 0 ? "<tr>" : string.Empty%> <td style="padding-removed 5px;"> <span class="delete"><a >x</a> </span> <br /> <div class="doc_main" > <span class="doc_bg"></span> <span class="doc_text" style="background-color: <%# Eval("FileType").ToString().ToUpper() == "PDF"? "red": Eval("FileType").ToString().ToUpper() == "DOC"? "blue" : Eval("FileType").ToString().ToUpper() == "XLS" || Eval("FileType").ToString().ToUpper() == "XLXS"? "green" : "black" %>" title="<%# Eval("FileName") %>"><%# Eval("FileType").ToString().ToUpper() %></span> </div> <br /> </td> <%# (Container.ItemIndex + 3) % 3 == 2 ? "</tr>" : string.Empty%> </ItemTemplate> </asp:Repeater> </table> </td> </tr> </table>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)