s_check.aspx

来自「asp.net+sql2000超市管理系统」· ASPX 代码 · 共 153 行

ASPX
153
字号
<%@ Register TagPrefix="uc1" TagName="C_Navigation2" Src="C_Navigation2.ascx" %>
<%@ Register TagPrefix="uc1" TagName="C_Navigation1" Src="C_Navigation1.ascx" %>
<%@ Page language="c#" Codebehind="S_check.aspx.cs" AutoEventWireup="false" Inherits="Supermart.S_check" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>S_check</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">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<table id="Table2" style="WIDTH: 803px; HEIGHT: 582px" height="582" cellSpacing="0" cellPadding="0"
					width="803" align="center" border="0">
					<tr>
						<td colSpan="4" height="128">
							<P align="center"><EM><asp:image id="Image4" runat="server" ImageUrl="IMAGE/header.jpg"></asp:image></EM></P>
						</td>
					</tr>
					<tr>
						<td style="HEIGHT: 61px" vAlign="top" bgColor="#ffffff" colSpan="4" height="61"><uc1:c_navigation1 id="C_Navigation11" runat="server"></uc1:c_navigation1></td>
					</tr>
					<tr>
						<td style="HEIGHT: 5px" bgColor="#ffffff" colSpan="4" height="5"><asp:image id="Image1" runat="server" ImageUrl="IMAGE/line上.jpg"></asp:image></td>
					</tr>
					<tr>
						<td style="WIDTH: 9px; HEIGHT: 294px" align="left" width="9" background="IMAGE/line左右.jpg"
							bgColor="#ffffff"></td>
						<td style="WIDTH: 155px; HEIGHT: 294px" vAlign="top" align="left" width="155" height="294"><uc1:c_navigation2 id="C_Navigation21" runat="server"></uc1:c_navigation2></td>
						<td style="HEIGHT: 294px" vAlign="top" width="7" background="IMAGE/line左右.jpg" bgColor="#ffffff"
							height="294"></td>
						<td style="HEIGHT: 294px" vAlign="top" width="641" height="294">
							<TABLE id="Table1" style="WIDTH: 634px; HEIGHT: 190px" cellSpacing="0" cellPadding="0"
								width="634" border="0">
								<TR>
									<TD style="HEIGHT: 46px" bgColor="#99ccff" colSpan="2"><FONT size="5"><STRONG>单据查询</STRONG></FONT></TD>
								</TR>
								<TR>
									<TD style="WIDTH: 389px; HEIGHT: 30px">&nbsp;
										<asp:radiobutton id="rbtn_sell" runat="server" Text="销售单" GroupName="1" Checked="True" AutoPostBack="True"></asp:radiobutton>&nbsp;&nbsp;&nbsp;
										<asp:radiobutton id="rbtn_stock" runat="server" Text="进货单" GroupName="1" AutoPostBack="True"></asp:radiobutton></TD>
									<TD style="HEIGHT: 30px"></TD>
								</TR>
								<TR>
									<TD style="WIDTH: 389px; HEIGHT: 30px">&nbsp;
										<asp:RadioButton id="rbtn_p" runat="server" Checked="True" GroupName="2" Text="批发" Visible="False"
											AutoPostBack="True"></asp:RadioButton>&nbsp;
										<asp:RadioButton id="rbtn_ll" runat="server" GroupName="2" Text="零售" Visible="False" AutoPostBack="True"></asp:RadioButton></TD>
									<TD style="HEIGHT: 30px"></TD>
								</TR>
								<TR>
									<TD style="WIDTH: 389px; HEIGHT: 26px" colSpan="2">&nbsp;
										<asp:label id="lb_buyer" runat="server" Visible="False">按顾客姓名查询:</asp:label><asp:label id="lb_provide" runat="server" Visible="False">按供应商姓名查询:</asp:label><asp:dropdownlist id="ddl_Name" runat="server" Width="100px" AutoPostBack="True"></asp:dropdownlist></TD>
								</TR>
								<TR>
									<TD style="WIDTH: 389px; HEIGHT: 9px" colSpan="2">&nbsp; 编号:
										<asp:DropDownList id="ddl_ID" runat="server" Width="100px" AutoPostBack="True"></asp:DropDownList></TD>
								</TR>
								<TR>
									<TD vAlign="top" align="right" colSpan="2">
										<asp:datagrid id="stockcheck" runat="server" Width="636px" CellPadding="4" BackColor="White" BorderWidth="1px"
											BorderStyle="None" BorderColor="#CC9966" AutoGenerateColumns="False" PageSize="6" AllowPaging="True">
											<FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
											<SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
											<ItemStyle ForeColor="#330099" BackColor="White"></ItemStyle>
											<HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle>
											<Columns>
												<asp:BoundColumn DataField="stocklistID" HeaderText="定单编号">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="merName" HeaderText="商品名">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="merBit" HeaderText="单位">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="num" HeaderText="数量">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="cost" HeaderText="进价">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="buyMoney" HeaderText="总计"></asp:BoundColumn>
												<asp:BoundColumn DataField="stodate" HeaderText="时间">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
											</Columns>
											<PagerStyle VerticalAlign="Middle" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Center"
												ForeColor="#330099" BackColor="#FFFFCC"></PagerStyle>
										</asp:datagrid>
										<asp:datagrid id="sellcheck" runat="server" Width="636px" CellPadding="4" BackColor="White" BorderWidth="1px"
											BorderStyle="None" BorderColor="#CC9966" AutoGenerateColumns="False" PageSize="5" AllowPaging="True">
											<FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
											<SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
											<ItemStyle ForeColor="#330099" BackColor="White"></ItemStyle>
											<HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle>
											<Columns>
												<asp:BoundColumn DataField="selllistID" HeaderText="定单编号">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="merName" HeaderText="商品名">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="num" HeaderText="数量">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="merBit" HeaderText="单位">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="price" HeaderText="单价">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="buyMoney" HeaderText="总计"></asp:BoundColumn>
												<asp:BoundColumn DataField="selldate" HeaderText="时间">
													<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
											</Columns>
											<PagerStyle VerticalAlign="Middle" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Center"
												ForeColor="#330099" BackColor="#FFFFCC"></PagerStyle>
										</asp:datagrid>
										<asp:Label id="Label4" runat="server" Font-Size="15pt" Font-Bold="True">总金额:</asp:Label>
										<asp:Label id="totalMoney" runat="server" Font-Size="15pt" Font-Bold="True">0.00</asp:Label>
										<asp:Label id="Label6" runat="server" Font-Size="15pt" Font-Bold="True">元</asp:Label>&nbsp;&nbsp;
									</TD>
								</TR>
							</TABLE>
						</td>
					</tr>
					<TR>
						<TD style="HEIGHT: 9px" align="left" colSpan="4">
							<asp:Image id="Image5" runat="server" ImageUrl="IMAGE/footer.jpg"></asp:Image></TD>
					</TR>
				</table>
			</FONT>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?