<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderList.aspx.cs" Inherits="AngelShop.ASystem.OrderList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>订单详细</title>
    <link href="Css/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellspacing="1" cellpadding="3" height="1" class="table" width="98%">
            <tr>
                <td width="100%" class="title" align="center">
                    订单详细
                </td>
            </tr>
            <tr>
                <td class="title2">
                </td>
            </tr>
        </table>
        <table border="0" cellspacing="1" cellpadding="3" height="1" class="table" width="98%">
            <tr>
                <td colspan="7" class="title">
                    订单详细列表
                </td>
            </tr>
            <tr>
                <td colspan="7" class="td">
                    <div align="center">
                        <asp:GridView ID="myGridView" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                            Width="100%">
                            <HeaderStyle Font-Bold="True" Wrap="False" ForeColor="White" CssClass="title" BackColor="#799AE1"
                                Height="25px"></HeaderStyle>
                            <Columns>
                                <asp:TemplateField HeaderText="所属订单编号">
                                    <ItemStyle HorizontalAlign="Center" CssClass="td" Width="10%" />
                                    <HeaderStyle CssClass="td" />
                                    <ItemTemplate>
                                        <%=PID%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="产品名称">
                                    <ItemStyle CssClass="td" />
                                    <HeaderStyle CssClass="td" />
                                    <ItemTemplate>
                                        <%#Eval("name")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="单价">
                                    <ItemStyle HorizontalAlign="Center" CssClass="td" Width="10%" />
                                    <HeaderStyle CssClass="td" />
                                    <ItemTemplate>
                                        <%#showpric(Eval("pv").ToString(), Eval("pvs").ToString())%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="重量（KG）">
                                    <ItemStyle HorizontalAlign="Center" CssClass="td" Width="10%" />
                                    <HeaderStyle CssClass="td" />
                                    <ItemTemplate>
                                        <%#Eval("peso")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="数量">
                                    <ItemStyle HorizontalAlign="Center" CssClass="td" Width="10%" />
                                    <HeaderStyle CssClass="td" />
                                    <ItemTemplate>
                                        <%#Eval("qty")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <HeaderStyle CssClass="title" />
                        </asp:GridView>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="7" class="td">
                    <div align="right">
                        <webdiyer:AspNetPager ID="myAspNetPager" runat="server" HorizontalAlign="Right" OnPageChanged="myAspNetPager_PageChanged"
                            ShowCustomInfoSection="Left" SubmitButtonText=" G O  " CustomInfoHTML="Page  <font color='red'><b>%CurrentPageIndex%</b></font> of  %PageCount%&nbsp;&nbsp;Order %StartRecordIndex%-%EndRecordIndex%"
                            PageSize="20" AlwaysShow="True">
                        </webdiyer:AspNetPager>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
