<asp:Repeater ID="Repeater1" runat="server" onitemcreated="Repeater1_ItemCreated"> <HeaderTemplate> <table id="report" class="stylized full" > <thead> <tr> <th>Company name</th> <th class="">CI Date</th> <th>Status</th> <th>Case Officer</th> <th class="">Message(*)</th> <th class="">New Message</th> </tr> </thead> </HeaderTemplate> <ItemTemplate> <tbody id="Message" runat="server"> <tr> <td><asp:Label ID="Lcom_name" runat="server" Text='<%# Eval("company_name") %>'></asp:Label></td> <td><%# Eval("date","{0:yyyy/MM/dd}") %></td> <td><%# Eval("Status") %></td> <td><%#Eval("caseofficer") %> <asp:HiddenField ID="Get_Com_Id" runat="server" Value='<%#Eval("Com_Id") %>'></asp:HiddenField> </td> <td> <asp:Repeater ID="Repeater2" runat="server"> <ItemTemplate> <p> <asp:LinkButton ID="MessageList" runat="server">message(<%#DataBinder.Eval(Container.DataItem,"MessageCount")%>)</asp:LinkButton> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </p> </ItemTemplate> </asp:Repeater> </td> <%--<td><a href='MessageList.aspx?com_id=<%# Eval("Com_id") %>'>message(<%# Eval("MessageCount") %>)</a></td>--%> <td><a href="WriteMessage.aspx?case_officer=<%#Eval("caseofficer") %>&&com_id=<%# Eval("Com_id") %>">New Message</a></td> </tr> </tbody> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater>
添加回答
举报
0/150
提交
取消