<%@ control language="C#" autoeventwireup="true" inherits="Controls_ShoppingCart, Huibo.Net" %>
<p class="cart_title wid_tit1">
    我的购物车</p>
<table class="order_table_head" bgcolor="#cccccc" cellpadding="1" cellspacing="1"
    width="748" style="_width: 729px">
    <tbody>
        <tr align="center">
            <td bgcolor="#ffffff">
                图片</th>
            <td bgcolor="#ffffff">
                商品名称</th>
            <td bgcolor="#ffffff">
                商品样式</th>
            <td bgcolor="#ffffff">
                市场价格</th>
            <td bgcolor="#ffffff">
                您的价格</th>
            <td bgcolor="#ffffff">
                操作</th>
        </tr>
        <asp:Repeater ID="CartList" runat="server" OnItemDataBound="CartList_ItemDataBound"
            OnItemCommand="CartList_ItemCommand">
            <ItemTemplate>
                <tr align="center">
                    <td bgcolor="#ffffff">
                        <asp:HyperLink ID="PicUrl" runat="server">
                            <asp:Image ID="Pic" Width="50px" ImageUrl='<%# DataBinder.Eval(Container, "DataItem.id")%>'
                                runat="server" />
                        </asp:HyperLink></td>
                    <td bgcolor="#ffffff">
                        <%--<asp:Label ID="Name" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.id")%>'></asp:Label>--%>
                        <%--<asp:Label ID="Name" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.id")%>'></asp:Label>--%>
                        <asp:HyperLink ID="HyperLink1" Target="_blank" runat="server" >
                        <asp:Label ID="Name" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.id")%>'></asp:Label>
                        </asp:HyperLink>
                        <%--<a href='Product.aspx?ID=<%# DataBinder.Eval(Container, "DataItem.id")%>'><%# DataBinder.Eval(Container, "DataItem.id")%></a>--%>
                    </td>
                    <td bgcolor="#ffffff">
                        <%# DataBinder.Eval(Container, "DataItem.style")%>
                    </td>
                    <td bgcolor="#ffffff">
                        <asp:Label ID="Price2" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.id")%>'></asp:Label></td>
                    <td bgcolor="#ffffff">
                        <asp:Label ID="Price" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.orderid")%>'></asp:Label></td>
                    <td bgcolor="#ffffff">
                        <asp:LinkButton ID="Delete" Text="删除" runat="server"></asp:LinkButton>
                        <asp:HiddenField ID="OrderID" Value='<%# DataBinder.Eval(Container,"DataItem.orderid") %>'
                            runat="server"></asp:HiddenField>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </tbody>
</table>
<table cellspacing="1" cellpadding="5" width="748" border="0" style="_width: 729px">
    <tr>
        <td align="center" style="padding-top: 10px;">
            <a href="Index.aspx">
                <asp:Image ID="btn_shopping" ImageUrl="images/btn_shopping.gif" runat="server" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a
                    href="CartOne.aspx"><asp:Image ID="btn_order" ImageUrl="images/btn_order.gif" runat="server" /></a></td>
    </tr>
</table>
