⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c_body.ascx

📁 asp.net+sql2000超市管理系统
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="C_body.ascx.cs" Inherits="Supermart.C_body" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<table cellSpacing="0" cellPadding="0" width="643" border="0" style="WIDTH: 643px">
	<tr>
		<td bgColor="#66ccff" colSpan="6" height="40">&nbsp;<FONT face="宋体"><FONT size="5">销售单(批发)</FONT></FONT></td>
	</tr>
	<tr>
		<td colspan="6" width="643" height="22" bgColor="#d2deff" style="WIDTH: 643px; HEIGHT: 22px">单据编号:
			<asp:Label id="lb_ID" Width="43px" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			顾客姓名:
			<asp:dropdownlist id="ddl_buyerName" runat="server" Width="72px"></asp:dropdownlist>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			经手人:
			<asp:dropdownlist id="ddl_worker" runat="server" Width="72px"></asp:dropdownlist></td>
	</tr>
	<tr>
		<td colSpan="6" height="12" bgColor="#d2deff" style="HEIGHT: 12px">附加说明:
			<asp:TextBox id="txt_remark" runat="server" Width="528px"></asp:TextBox>&nbsp;</td>
	</tr>
	<tr>
		<td colSpan="6" height="15" bgColor="#ccccff" style="HEIGHT: 15px"><FONT face="宋体" color="#0000cc"><STRONG>商品类型:</STRONG>
			</FONT>
			<asp:DropDownList id="ddl_mertype" Width="72px" runat="server" AutoPostBack="True"></asp:DropDownList><FONT face="宋体">&nbsp;&nbsp;<STRONG><FONT style="BACKGROUND-COLOR: #ccccff" color="#0000cc">商品名</FONT><FONT color="#0000cc">:</FONT></STRONG>
			</FONT>
			<asp:DropDownList id="ddl_merName" Width="72px" runat="server" AutoPostBack="True"></asp:DropDownList></td>
	</tr>
	<tr>
		<td width="121" height="16" bgColor="#ccffff" style="WIDTH: 121px; HEIGHT: 16px"><FONT face="宋体"><FONT style="BACKGROUND-COLOR: #ccffff">数量:
				</FONT>
				<asp:textbox id="txt_num" Width="40px" runat="server" AutoPostBack="True"></asp:textbox></FONT></td>
		<td width="100" height="16" bgColor="#ccffff" style="WIDTH: 100px; HEIGHT: 16px"><FONT face="宋体"><FONT style="BACKGROUND-COLOR: #ccffff">单位:
				</FONT>
				<asp:label id="lb_merBit" Width="17px" runat="server">个</asp:label></FONT></td>
		<td width="124" bgColor="#ccffff" style="WIDTH: 124px; HEIGHT: 16px">单价:
			<asp:textbox id="txt_price" Width="54px" runat="server"></asp:textbox>元</td>
		<td style="WIDTH: 157px; HEIGHT: 16px" width="157" height="16" bgColor="#ccffff">&nbsp;金额:
			<asp:label id="lb_Money" runat="server" Width="63px">0.00</asp:label>元</td>
		<td width="32" bgColor="#ccffff" style="WIDTH: 32px; HEIGHT: 16px"></td>
		<TD style="HEIGHT: 16px" align="center" width="50" bgColor="#ccffff"><FONT face="宋体">
				<asp:Button id="btn_putin" runat="server" Text="提交"></asp:Button></FONT></TD>
	</tr>
	<tr>
		<td colSpan="6" vAlign="top" align="right">
			<asp:DataGrid id="selllist" runat="server" Width="641px" BorderColor="#CC9966" BorderStyle="None"
				BorderWidth="1px" BackColor="White" CellPadding="4" AutoGenerateColumns="False" AllowPaging="True"
				PageSize="8">
				<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="merName" HeaderText="商品名">
						<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
						<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="num" HeaderText="数量">
						<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
						<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="merBit" HeaderText="单位">
						<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
						<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="price" HeaderText="单价">
						<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
						<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="buyMoney" HeaderText="金额">
						<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
						<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
					</asp:BoundColumn>
					<asp:TemplateColumn HeaderText="状态">
						<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
						<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
						<ItemTemplate>
							<asp:CheckBox id="CheckBox1" runat="server" Text="已发" TextAlign="Left"></asp:CheckBox>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
				<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Center" ForeColor="#330099"
					BackColor="#FFFFCC"></PagerStyle>
			</asp:DataGrid><STRONG><FONT size="5"><FONT face="宋体">
						<P><FONT size="3">合计数量:&nbsp; </STRONG>
			<asp:Label id="lb_number" Width="30px" runat="server">0</asp:Label><STRONG>件&nbsp;&nbsp;
				<STRONG><FONT face="宋体"><STRONG>合计金额:</STRONG>
						<asp:Label id="lb_total" Width="64px" runat="server" ForeColor="Red" Font-Size="12pt" Font-Bold="True">0.00</asp:Label><STRONG>元</STRONG></FONT></STRONG>&nbsp;
			</STRONG></FONT></P>
			<P>
				<HR width="100%" noShade SIZE="3">
			</FONT></FONT></STRONG>
			<P></P>
			<P><STRONG><FONT face="宋体">收款金额:
						<asp:TextBox id="txt_gathering" Width="72px" runat="server" AutoPostBack="True"></asp:TextBox>元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
						&nbsp;<FONT color="#0000ff">找零</FONT><FONT color="#0000ff">:</FONT>
						<asp:Label id="lb_backMoney" runat="server" ForeColor="Red">0.00</asp:Label>元&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:Button id="btn_complete" runat="server" Text="交易完成"></asp:Button>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></STRONG>
			</P>
			<P><STRONG><FONT face="宋体"></FONT></STRONG>&nbsp;</P>
		</td>
	</tr>
</table>

⌨️ 快捷键说明

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