<%@ Register TagPrefix="uc1" TagName="NSManagerMiddle" Src="../NSControls/NSManagerMiddle.ascx"%>
<%@ Register TagPrefix="uc1" TagName="NSManagerHeader" Src="../NSControls/NSManagerHeader.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NSFooter" Src="../NSControls/NSFooter.ascx" %>
<%@ Page language="c#" Inherits="NScontract.Manager.AddBook" CodeFile="NSAddBook.aspx.cs" %>

<%@ Register Src="../NSControls/NSManagerTreeView.ascx" TagName="NSManagerTreeView"
    TagPrefix="uc2" %>
<!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:NSManagerHeader id="NSManagerHeader1" runat="server"></uc1:NSManagerHeader>
			<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: 194px" valign="top" align="center"><FONT face="宋体">
                        <uc2:NSManagerTreeView ID="NSManagerTreeView1" runat="server" />
                    </FONT></TD>
					<TD style="HEIGHT: 23px" align="center" valign="top"><FONT face="宋体"></FONT><asp:datagrid id="NSmyGrid" runat="server" width="100%" OnUpdateCommand="NSmyGrid_update" OnEditCommand="NSmyGrid_edit"
							OnDeleteCommand="NSmyGrid_delete" OnCancelCommand="NSmyGrid_cancel" DataKeyField="ID" AutoGenerateColumns="False" PageSize="5" AllowPaging="True" OnPageIndexChanged="NSmyGrid_Page">
							<Columns>
								<asp:BoundColumn DataField="ID" HeaderText="ID"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSBookID" HeaderText="书刊ID"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSDepName" HeaderText="报刊亭名字"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSBookName" HeaderText="书刊名字"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSBookNum" HeaderText="书刊数量"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSBookPrice" HeaderText="书刊价格"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSBookDate" HeaderText="书刊出版日期"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSBookSH" HeaderText="书刊送货日期"></asp:BoundColumn>
								<asp:BoundColumn DataField="NSBookInfo" HeaderText="书刊信息"></asp:BoundColumn>
								<asp:EditCommandColumn ButtonType="LinkButton"></asp:EditCommandColumn>
								<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
							</Columns>
							<PagerStyle NextPageText="" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
						</asp:datagrid>
						<TABLE id="Table2" style="HEIGHT: 114px" cellSpacing="1" cellPadding="1" width="100%" border="0">
							<TR>
								<TD style="WIDTH: 198px" align="right">添加书刊</TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px; HEIGHT: 23px" align="right">报刊亭名称：</TD>
								<TD style="HEIGHT: 23px">
									<asp:DropDownList id="NS_Dep" runat="server"></asp:DropDownList></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="NSDepNum" runat="server" Width="104px"></asp:TextBox></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px; HEIGHT: 26px" align="right">书刊出版日期：</TD>
								<TD style="HEIGHT: 26px">
									<asp:TextBox id="NSBookDate" runat="server" Width="104px"></asp:TextBox></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 198px; HEIGHT: 26px" align="right">书刊送货日期：</TD>
								<TD style="HEIGHT: 26px">
									<asp:TextBox id="NSBookSH" runat="server" Width="104px"></asp:TextBox></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>
			<uc1:nsfooter id="NSFooter1" runat="server"></uc1:nsfooter></form>
	</body>
</HTML>
