日期:2014-05-18 浏览次数:20479 次
<asp:Repeater ID="Repeater1" OnItemDataBound="Repeater1_ItemDataBound" runat="server"> <HeaderTemplate> <tr bgcolor="#add8e6"> <td height="25" class="tabletitle" align="center">ID</td> <td class="tabletitle" align="center">状态</td> <td class="tabletitle" align="center">消缺序号</td> <td class="tabletitle" align="center">发现时间</td> </tr> </HeaderTemplate> <ItemTemplate> <tr bgcolor="#e6e6fa" style="cursor:hand" onmouseover="javascript:this.style.backgroundColor='#FFCC33';" onmouseout="javascript:this.style.backgroundColor='#e6e6fa';" ondblclick="openChild(this,<%#Eval("ID")%>,5)"> <td height="25" align="center"><%#Eval("ID")%></td> <td><%#CheckState(Convert.ToString(Eval("StateNow")))%> </td> <td><%#Eval("FlowOrder")%></td> <td><%#Eval("FindDate")%></td> </tr> </ItemTemplate> <AlternatingItemTemplate> <tr bgcolor="#f5f5dc" style="cursor:hand" onmouseover="javascript:this.style.backgroundColor='#FFCC33';" onmouseout="javascript:this.style.backgroundColor='#f5f5dc';" ondblclick="openChild(this,<%#Eval("ID")%>,5)"> <td height="25" align="center"><%#Eval("ID")%></td> <td><%#CheckState(Convert.ToString(Eval("StateNow")))%> </td> <td><%#Eval("FlowOrder")%></td> <td><%#Eval("FindDate")%></td> </tr> </AlternatingItemTemplate> </asp:Repeater>