<%@ page language="C#" autoeventwireup="true" inherits="Admin_Orders_AdminSearch, Huibo.Net" enableviewstatemac="false" enableEventValidation="false" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../../TemHtml/First/css/css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body{
            font:12px/22px Arial;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="5" border="1">
            <asp:Repeater ID="ProductList" runat="server" OnItemDataBound="ProductList_ItemDataBound" OnItemCommand="ProductList_ItemCommand">
                <ItemTemplate>
                <tr>
                    <td style="width:15%;" align="center"><asp:HiddenField ID="ID" Value='<%# DataBinder.Eval(Container.DataItem,"id") %>' runat="server" />
                    <a href="Product.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"id") %>" target="_blank">
                    <img style="width:100px;height:100px;" src="<%# "../"+DataBinder.Eval(Container.DataItem,"pic") %>" alt='<%# DataBinder.Eval(Container.DataItem,"name") %>' /></a></td>
                    <td style="width:20%;" align="center">
                        <a href="../../Product.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"id") %>" style=" text-decoration:none; font:12px/22px;" title='<%# DataBinder.Eval(Container.DataItem,"name") %>'
                    target="_blank">
                    <asp:Label ID="Name" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"name") %>'></asp:Label>
                    </td>
                    <td style="width:15%;" align="center">您的价格:￥<asp:Label ID="Price" runat="server" Text="" style="width:30px;"></asp:Label>元</td>
                    <td style="width:15%;" align="center">颜色：<asp:DropDownList ID="Color" Width="100px" runat="server">
                </asp:DropDownList></td>
                <td style="width:15%;" align="center">
                    尺码：<asp:DropDownList ID="Size" Width="100px" runat="server"></asp:DropDownList>
                </td>
                <td style="width:15%;" align="center">
                    数量：<asp:TextBox ID="productnum" runat="server" Width="30px" Text="1"></asp:TextBox>
                    <asp:Label runat="server" ID="lab_Score" Text='<%#Eval("score") %>' Visible="false"></asp:Label>
                    <asp:Label runat="server" ID="label_Zhongliang" Text='<%#Eval("zhongliang") %>' Visible="false"></asp:Label>
                </td>
                <td style="width:10%;" align="center">
                    <asp:Button ID="InsertCart" runat="server" CommandArgument="立刻购买" Text="立刻购买" />
                </td>
                </tr>
            </ItemTemplate>
    </asp:Repeater>
    </table>
    <%-- <asp:Repeater ID="ProductList" runat="server" OnItemDataBound="ProductList_ItemDataBound" OnItemCommand="ProductList_ItemCommand">
    <ItemTemplate>--%>
<%--        <div class="subpageproducts" style="width:150px;">
            <div class="subpic">
                <asp:HiddenField ID="ID" Value='<%# DataBinder.Eval(Container.DataItem,"id") %>' runat="server" />
                <a href="Product.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"id") %>" target="_blank">
                    <img style="width:150px;" src="<%# "../"+DataBinder.Eval(Container.DataItem,"pic") %>" alt='<%# DataBinder.Eval(Container.DataItem,"name") %>' /></a>
            </div>
            <ul >
                <li class="sub_a"><a href="Product.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"id") %>" title='<%# DataBinder.Eval(Container.DataItem,"name") %>'
                    target="_blank">
                    <asp:Label ID="Name" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"name") %>'></asp:Label>
                </a></li>--%>
                <%--<li class="sub_b">
                    ￥<%# DataBinder.Eval(Container.DataItem,"price2") %>元<br>
                </li>--%>
                <%--<li>
                    您的价格:￥<asp:Label ID="Price" runat="server" Text="" style="width:30px;"></asp:Label>元
                </li>
                <li class="sub_c">颜色：<asp:DropDownList ID="Color" Width="100px" runat="server">
                </asp:DropDownList></li>
                <li class="sub_c">尺码：<asp:DropDownList ID="Size" Width="100px" runat="server">
                </asp:DropDownList></li>
                <li class="sub_c">数量：<asp:TextBox ID="productnum" runat="server" Width="30px" Text="1"></asp:TextBox>
                    <asp:Label runat="server" ID="lab_Score" Text='<%#Eval("score") %>' Visible="false"></asp:Label>
                    <asp:Label runat="server" ID="label_Zhongliang" Text='<%#Eval("zhongliang") %>' Visible="false"></asp:Label>
                </li>
                <li class="btn1">
                    <asp:Button ID="InsertCart" runat="server" CommandArgument="加入购物车" /></li>
            </ul>
        </div>--%>
<%--        
    </ItemTemplate>--%>
<%--</asp:Repeater>--%>
<webdiyer:AspNetPager ID="Pager" Visible="false" runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" OnPageChanged="Pager_PageChanged" PageSize="8">
</webdiyer:AspNetPager>
    </form>
</body>
</html>
