<%@ Page language="c#" Inherits="NScontract.NSUser.NSSale" CodeFile="NSSale.aspx.cs" %>

<%@ Register Src="../NSControls/NSFooter.ascx" TagName="NSFooter" TagPrefix="uc2" %>
<%@ Register TagPrefix="uc1" TagName="NSFooter" Src="../NSControls/NSFooter.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NSHeader" Src="../NSControls/NSHeader.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NSMiddle" Src="../NSControls/NSMiddle.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Login</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
        <link href="../style.css" rel="stylesheet" type="text/css" />
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<uc1:NSheader id="NSHeader1" runat="server"></uc1:NSheader>
            &nbsp;
			<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 40px; TOP: 64px; HEIGHT: 75px" cellSpacing="1"
				cellPadding="1" width="770" align="center" border="1">
				<TR>
					<TD style="WIDTH: 192px" align="center" valign="top"><FONT face="宋体">
							<uc1:NSmiddle id="NSmiddle1" runat="server"></uc1:NSmiddle>
						</FONT>
					</TD>
					<TD style="HEIGHT: 23px" align="center"><FONT face="宋体">
							<asp:datagrid id="NSmyGrid" runat="server" Width="100%" DataKeyField="ID" AutoGenerateColumns="False"
								PageSize="5" AllowPaging="True" OnPageIndexChanged="NSmyGrid_Page">
								<Columns>
									<asp:BoundColumn DataField="ID" HeaderText="ID"></asp:BoundColumn>
									<asp:BoundColumn DataField="NSDepName" HeaderText="报刊亭名称"></asp:BoundColumn>
									<asp:BoundColumn DataField="NSBookName" HeaderText="书刊名称"></asp:BoundColumn>
									<asp:BoundColumn DataField="NSSaleNum" HeaderText="书刊数量"></asp:BoundColumn>
									<asp:BoundColumn DataField="NSStartTime" HeaderText="送货开始时间"></asp:BoundColumn>
									<asp:BoundColumn DataField="NSEndTime" HeaderText="送货结束时间"></asp:BoundColumn>
								</Columns>
								<PagerStyle NextPageText="" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
							</asp:datagrid>
						</FONT>
						<TABLE id="Table3" style="HEIGHT: 114px" cellSpacing="1" cellPadding="1" width="100%" border="0">
							<TR>
								<TD style="WIDTH: 198px" align="right">统计：</TD>
								<TD>
									<asp:Label id="NSStat" runat="server" Width="96px">年销售统计</asp:Label></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px; HEIGHT: 22px" align="right">报刊亭名称：</TD>
								<TD style="HEIGHT: 22px">
									<asp:Label id="NSDepName" runat="server" Width="96px"></asp:Label></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px; HEIGHT: 29px" align="right">书刊名称：</TD>
								<TD style="HEIGHT: 29px">
									<asp:DropDownList id="NS_Book" runat="server"></asp:DropDownList></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px; HEIGHT: 26px" align="right">书刊数量：</TD>
								<TD style="HEIGHT: 26px">
									<asp:TextBox id="NSSaleNum" runat="server" Width="104px"></asp:TextBox></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px" align="right">送货开始日期：</TD>
								<TD><asp:textbox id="NSStartTime" runat="server" Width="105px"></asp:textbox><FONT size="2">例：2007-3-12</FONT></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px" align="right">送货结束日期：</TD>
								<TD><asp:textbox id="NSEndTime" runat="server" Width="105px"></asp:textbox><FONT size="2">例：2007-3-12</FONT></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px"></TD>
								<TD><asp:button id="NS_ok" runat="server" Text="添加" onclick="NS_ok_Click"></asp:button>
									<asp:Label id="NS_Warn" runat="server" Width="80px"></asp:Label></TD>
							</TR>
						</TABLE>
						<FONT face="宋体" color="#ff0000" size="2">说明：此页用于统计各报刊亭销售情况</FONT>
					</TD>
				</TR>
			</TABLE>
            <uc2:NSFooter ID="NSFooter1" runat="server" />
        </form>
	</body>
</HTML>
