main2.aspx
来自「asp.net+sql2000超市管理系统」· ASPX 代码 · 共 133 行
ASPX
133 行
<%@ Page language="c#" Codebehind="main2.aspx.cs" AutoEventWireup="false" Inherits="Supermart.main2" %>
<%@ Register TagPrefix="uc1" TagName="C_Navigation1" Src="C_Navigation1.ascx" %>
<%@ Register TagPrefix="uc1" TagName="C_Navigation2" Src="C_Navigation2.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>main2</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>
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<table style="WIDTH: 803px; HEIGHT: 582px" height="582" cellSpacing="0" cellPadding="0"
width="803" align="center" border="0">
<TBODY>
<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="middle" 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 style="WIDTH: 643px" cellSpacing="0" cellPadding="0" width="643" border="0">
<TBODY>
<tr>
<td bgColor="#66ccff" colSpan="6" height="40"> <FONT face="宋体"><FONT size="5">销售单(零售)</FONT></FONT></td>
</tr>
<tr>
<td style="HEIGHT: 23px" bgColor="#ccccff" colSpan="6">单据编号:
<asp:Label id="lb_ID" runat="server" Width="40px"></asp:Label>
</FONT>经手人:
<asp:dropdownlist id="ddl_worker" runat="server" Width="72px"></asp:dropdownlist></TD></TR><FONT face="宋体">
<tr>
<td style="HEIGHT: 5px" bgColor="#ccccff" colSpan="6" height="5"><FONT face="宋体" color="#0000cc"><STRONG>商品类型:</STRONG>
</FONT>
<asp:dropdownlist id="ddl_mertype" runat="server" Width="72px" AutoPostBack="True"></asp:dropdownlist><FONT face="宋体"> <STRONG><FONT style="BACKGROUND-COLOR: #ccccff" color="#0000cc">商品名</FONT><FONT color="#0000cc">:</FONT></STRONG>
</FONT>
<asp:dropdownlist id="ddl_merName" runat="server" Width="72px" AutoPostBack="True"></asp:dropdownlist></td>
</tr>
<tr>
<td style="WIDTH: 150px; HEIGHT: 16px" width="150" bgColor="#ccffff" height="16"><FONT face="宋体"><FONT style="BACKGROUND-COLOR: #ccffff">数量:
</FONT>
<asp:textbox id="txt_num" runat="server" Width="40px" AutoPostBack="True"></asp:textbox></FONT></td>
<td style="WIDTH: 100px; HEIGHT: 16px" width="100" bgColor="#ccffff" height="16"><FONT face="宋体"><FONT style="BACKGROUND-COLOR: #ccffff">单位:
</FONT>
<asp:label id="lb_merBit" runat="server" Width="17px">个</asp:label></FONT></td>
<td style="WIDTH: 141px; HEIGHT: 16px" width="141" bgColor="#ccffff">单价:
<asp:textbox id="txt_price" runat="server" Width="54px"></asp:textbox>元</td>
<td style="WIDTH: 157px; HEIGHT: 16px" width="157" bgColor="#ccffff" height="16"> 金额:
<asp:label id="lb_Money" runat="server" Width="63px">0.00</asp:label>元</td>
<td style="WIDTH: 33px; HEIGHT: 16px" width="33" bgColor="#ccffff"></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 vAlign="top" align="right" colSpan="6"><asp:datagrid id="selllist" runat="server" Width="641px" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" BackColor="White" BorderWidth="1px" BorderStyle="None" BorderColor="#CC9966" 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">合计数量: </STRONG>
<asp:label id="lb_number" runat="server" Width="30px">0</asp:label><STRONG>件
<STRONG><FONT face="宋体"><STRONG>合计金额:</STRONG>
<asp:label id="lb_total" runat="server" Width="64px" Font-Bold="True" Font-Size="12pt" ForeColor="Red">0.00</asp:label><STRONG>元</STRONG></FONT></STRONG>
</STRONG>
</FONT></P>
<P>
<HR width="100%" noShade SIZE="3">
</FONT></FONT></STRONG>
<P></P>
<P><STRONG><FONT face="宋体">收款金额:
<asp:textbox id="txt_gathering" runat="server" Width="72px" AutoPostBack="True"></asp:textbox>元
<FONT color="#0000ff">找零</FONT><FONT color="#0000ff">:</FONT>
<asp:label id="lb_backMoney" runat="server" ForeColor="Red">0.00</asp:label>元
<asp:button id="btn_complete" runat="server" Text="交易完成"></asp:button>
</FONT></STRONG>
</P>
<P><STRONG><FONT face="宋体"></FONT></STRONG> </P>
</TD></TR></TBODY></TABLE></FONT></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>
</TBODY></TABLE></FONT></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?