//排队中
    protected void rptOrdersList_ItemDataBound(object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e)
    {
        if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
        {
            if (((OrdersDB)e.Item.DataItem).IsQue == true)
            {
                //string strID = ((OrdersDB)e.Item.DataItem).ID.ConvertType("");
                ((Label)e.Item.FindControl("row1")).BackColor = System.Drawing.Color.Pink;
                ((Label)e.Item.FindControl("row2")).BackColor = System.Drawing.Color.Pink;
                ((Label)e.Item.FindControl("row3")).BackColor = System.Drawing.Color.Pink;     //查找页面上id为row3的lable,给该lable加颜色
                //((HtmlTableRow)e.Item.FindControl("row")).BgColor = "#F9EDA1";               //查找页面上id为row的,给该行加颜色(此id为table的id)
                
            }
        }
    }

  

<FS:Repeater ID="rptOrdersList" runat="server" PageSize="18" IsShowRecordCount="True" ChangePageSize="True" IsShowJump="True" NoSelected="Pagination" Selected="PaginationSelected" PageType="Ajax" IsShowNotEnough="True" OnItemDataBound="rptOrdersList_ItemDataBound">
        <ItemTemplate>
            <tr ondblclick="S.Edit(<%#Container.Item<OrdersDB>().ID %>);" onclick="DataGrid.onRowClick(this,event);" oncontextmenu="S.ShowMenu(this,event)" level="0">
                <td align="center" rowno="<%#Container.ItemIndex + 1 %>">
                    <asp:Label id="row1"   Text='<%#Container.Item<OrdersDB>().ID%>' Runat="server"/>
                   <%-- <%#Container.Item<OrdersDB>().ID%>--%></td>
                <td align="center" onclick="DataGrid.onSelectorClick(this,event);" ondblclick="stopEvent(event);">
                    <input type='checkbox' name='DataList_RowCheck' id='DataList_RowCheck<%#Container.ItemIndex + 1 %>' value='<%#Container.Item<OrdersDB>().ID%>'></td>
                <td>
                    <%#GetOrdersItemList(Container.Item<OrdersDB>().ID).Count > 0 ? @"<img src='/Images/butCollapse.gif' onclick='DataGrid.treeClick(this)' style='cursor: pointer;' />" : "   "%> 
                    [<%#OrdersLogic.GetOrderColorType(Container.Item<OrdersDB>()) %>] 
                    <%#Container.Item<OrdersDB>().OrderNo%>( <asp:Label id="row3"   Text='<%#Container.Item<OrdersDB>().LicenseNo%>' Runat="server"/>)
                </td>
                <td align="right"> <asp:Label id="row2"   Text='<%#GetEnName(Container.Item<OrdersDB>().CreateID)%>' Runat="server"/></td>                
                <td align="right"><%#GetTagWeight(Container.Item<OrdersDB>().ID)%>KG(<%#GetTagCount(Container.Item<OrdersDB>().ID)%>枚)  <font color='red'><%#OrdersLogic.GetOrderTotalPrice(Container.Item<OrdersDB>()).Format()%></font></td>
                <td align="center"><%#Container.Item<OrdersDB>().CreateAt.ToLongString()%></td>
                <td align="center"><%#(Container.Item<OrdersDB>().OrderType==eumOrderType.Receipted ||Container.Item<OrdersDB>().OrderType==eumOrderType.Deliveryed ||Container.Item<OrdersDB>().OrderType==eumOrderType.Picked)?"<a href=\"/Page/Doc/DocModel.aspx?AllotLogDBID="+Container.Item<OrdersDB>().ID+"\" target='_blank'>分配预览</a>":"" %>
                    
                </td>
            </tr>
        </ItemTemplate>
        <PaginationHtml>
                    <tr ztype="blank" height="23"><td colspan="7" style="text-align:center;"><Pagination /></td></tr>
        </PaginationHtml>
        <FooterTemplate>
            <tr ztype="blank">
                <td colspan="7"> </td>
            </tr>
        </FooterTemplate>
    </FS:Repeater>