s_pricemanger.aspx
来自「asp.net+sql2000超市管理系统」· ASPX 代码 · 共 156 行
ASPX
156 行
<%@ Page language="c#" Codebehind="S_priceManger.aspx.cs" AutoEventWireup="false" Inherits="Supermart.S_priceManger" %>
<%@ 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>S_priceManger</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">
<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: 26px" bgColor="#ccccff" colSpan="2"><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: 389px; HEIGHT: 28px" bgColor="#ccccff" colSpan="2"><asp:button id="btn_check" runat="server" Width="124px" Text="查询未定价的商品"></asp:button></TD>
</TR>
<TR>
<TD vAlign="top" align="right" colSpan="2"><asp:datagrid id="pricelist" runat="server" Width="636px" CellPadding="4" BackColor="White" BorderWidth="1px"
BorderStyle="None" BorderColor="#CC9966" AutoGenerateColumns="False" PageSize="8" 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="merName" ReadOnly="True" HeaderText="商品名">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="merBit" ReadOnly="True" HeaderText="单位">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="stock" ReadOnly="True" HeaderText="数量">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="cost" ReadOnly="True" HeaderText="成本">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="tradePrice" HeaderText="批发价">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="retailPrice" HeaderText="零售价">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="操作">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemTemplate>
<asp:LinkButton id="LinkButton1" runat="server" Text="编辑" CausesValidation="false" CommandName="Edit"></asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton id="LinkButton3" runat="server" Text="更新" CommandName="Update"></asp:LinkButton>
<asp:LinkButton id="LinkButton2" runat="server" Text="取消" CausesValidation="false" CommandName="Cancel"></asp:LinkButton>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Center" ForeColor="#330099"
BackColor="#FFFFCC"></PagerStyle>
</asp:datagrid><asp:datagrid id="pricelist2" runat="server" Width="636px" CellPadding="4" BackColor="White" BorderWidth="1px"
BorderStyle="None" BorderColor="#CC9966" AutoGenerateColumns="False" PageSize="8" 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="merName" ReadOnly="True" HeaderText="商品名">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="merBit" ReadOnly="True" HeaderText="单位">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="stock" ReadOnly="True" HeaderText="数量">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="cost" ReadOnly="True" HeaderText="成本">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="tradePrice" HeaderText="批发价">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="retailPrice" HeaderText="零售价">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="操作">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemTemplate>
<asp:LinkButton id="LinkButton1" runat="server" Text="编辑" CausesValidation="false" CommandName="Edit"></asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton id="LinkButton3" runat="server" Text="更新" CommandName="Update"></asp:LinkButton>
<asp:LinkButton id="LinkButton2" runat="server" Text="取消" CausesValidation="false" CommandName="Cancel"></asp:LinkButton>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Center" ForeColor="#330099"
BackColor="#FFFFCC"></PagerStyle>
</asp:datagrid>
</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 + -
显示快捷键?