<%@ page language="C#" autoeventwireup="true" inherits="admin_shop_omanage, s1.chapk.com" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!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 rel="stylesheet" href="../css/table.css" type="text/css" media="all" /> 
    <script src="../../tool/select.js" type="text/javascript"></script>      
</head>
<body>
    <form id="form1" runat="server">
<div class="my_alt">订单管理 </div>
<table>
    <tr>
        <td>请输入订单编号：</td>
        <td>
            <asp:TextBox ID="txtkey" runat="server"></asp:TextBox>
            <asp:Button ID="Button1" runat="server" CssClass="BUTTON" Text=" 搜索 " OnClick="Button1_Click1" />
            <asp:Label ID="LAB_WHERE" runat="server" Visible="false"></asp:Label>
            <asp:Label ID="lab_state" runat="server" Visible="false"></asp:Label>
            <asp:Label ID="lab_u" runat="server" Visible="false"></asp:Label>
        </td>
    </tr>
</table>
<asp:datagrid id="data1" runat="server" AutoGenerateColumns="False" BorderColor="#CCCCCC" BorderWidth="1px" Width="100%" CellPadding="3" OnItemDataBound="data1_ItemDataBound">
        <Columns>
							<asp:BoundColumn Visible="False" DataField="Id" ReadOnly="True">
								<HeaderStyle Width="0px"></HeaderStyle>
							</asp:BoundColumn>
							<asp:TemplateColumn>
								<HeaderStyle Width="30px"></HeaderStyle>
								<HeaderTemplate>
									<asp:CheckBox id="chkHeader" runat="server" Text="" AutoPostBack="False" onclick="javascript:SelectAll(this);"></asp:CheckBox>
								</HeaderTemplate>
								<ItemTemplate>
									<asp:CheckBox id="CheckBox1" runat="server"></asp:CheckBox>
								</ItemTemplate>
							</asp:TemplateColumn>
                            <asp:HyperLinkColumn DataNavigateUrlField="Id" DataNavigateUrlFormatString="odetail.aspx?Id={0}"
                                DataTextField="ono" HeaderText="订单编号">
                                <HeaderStyle Width="180px" />
                            </asp:HyperLinkColumn>
            <asp:BoundColumn DataField="oname" HeaderText="收货人">
                <HeaderStyle Width="120px" />
            </asp:BoundColumn>
                            <asp:BoundColumn DataField="Moneys" HeaderText="订单金额" DataFormatString="{0:f2}">
                                <HeaderStyle Width="80px" />
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="Payment" HeaderText="支付方式">
                                <HeaderStyle Width="80px" />
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="Ship" HeaderText="送货方式">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="Time1" HeaderText="下单时间">
                                <HeaderStyle Width="140px" />
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="state" HeaderText="订单状态">
                                <HeaderStyle Width="60px" />
                            </asp:BoundColumn>
                            <asp:HyperLinkColumn DataNavigateUrlField="Id" DataNavigateUrlFormatString="odetail.aspx?Id={0}"
                                HeaderText="编辑" Text="&lt;img src='../images/edit.gif' border='0'&gt;">
                                <HeaderStyle Width="30px" />
                            </asp:HyperLinkColumn>
						</Columns>
            <HeaderStyle BackColor="#EEEFF1" Font-Bold="True" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
    <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
        Font-Underline="False" HorizontalAlign="Center" />
</asp:datagrid>
<table id="nodata1" runat="server">
<tr>
<td>暂无记录</td>
</tr>
</table>
<table width="100%">
<tr>
<td>
    <webdiyer:AspNetPager ID="Pager1" runat="server" CustomInfoHTML="共%RecordCount%条记录 页次%CurrentPageIndex%/%PageCount% 每页%PageSize%条"
            CustomInfoStyle="" FirstPageText="[首页]" LastPageText="[末页]" NextPageText="[下一页]"
            OnPageChanging="Pager1_PageChanging" PrevPageText="[上一页]" ShowCustomInfoSection="Left" AlwaysShow="True" PageSize="20">
    </webdiyer:AspNetPager>
</td>
<td>
    <asp:Button ID="Button2" runat="server" Text="删除" OnClick="Button2_Click" /></td>
</tr>
</table>
    </form>
</body>
</html>
