📄 sellcount.aspx
字号:
<%@ Page language="c#" Inherits="BMS.SellCount" CodeFile="SellCount.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>SellCount</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body bgColor=#ff6600 background="3.bmp">
<form method="post" runat="server">
<table width="90%" border="1" cellspacing="0" cellpadding="5" align="center" bordercolordark="#cccccc"
bordercolorlight="#000000">
<tr bgcolor="#cccccc">
<td height="5" align="left" valign="middle" bgcolor="#0099ff" style="width: 553px">
<div align="center"><font size="5">
<DIV align="center"><FONT size="5"><FONT size=6><STRONG>GREAT NET BOOK
STORE</STRONG></FONT></FONT></DIV>
<DIV align=center><FONT size=5>--</FONT>
market count</DIV>
</tr>
<tr align="left" valign="middle" bgcolor="#ffffff">
<td height="138" valign="top" style="HEIGHT: 138px; width: 553px;">
<div align="center">
</div>
<div align="center"></div>
<div align="center"></div>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#cccccc">
<td colspan="4" bgColor=activeborder style="height: 18px">
count condition:</td>
</tr>
<tr>
<td style="WIDTH: 127px">
<div align="right"><FONT face="宋体">By book name:</FONT></div>
</td>
<td width="24%">
<asp:TextBox id="tbx_bname" runat="server" Width="99px"></asp:TextBox></td>
<TD style="width: 21%">
<DIV align="right">
<DIV align="right">
By author:</DIV>
</DIV>
</TD>
<TD width="29%">
<asp:TextBox id="tbx_bauthor" runat="server" Width="99px"></asp:TextBox>
</TD>
</tr>
<TR>
<TD style="WIDTH: 127px">
<DIV align="right">
By type:</DIV>
</TD>
<TD width="24%">
<asp:DropDownList id="ddl_bgroup" runat="server">
<asp:ListItem Value="0">other</asp:ListItem>
<asp:ListItem Value="1">computer</asp:ListItem>
<asp:ListItem Value="2">genral sinc</asp:ListItem>
<asp:ListItem Value="-1" Selected="True">none</asp:ListItem>
</asp:DropDownList></TD>
<td style="width: 21%">
<div align="right"><FONT face="宋体">
<DIV align="right">
By press:</DIV>
</FONT>
</div>
</td>
<td width="29%">
<asp:TextBox id="tbx_bpress" runat="server" Width="99px"></asp:TextBox></td>
</TR>
<tr>
<td style="WIDTH: 127px">
<div align="right">
By date of sell:</div>
</td>
<td colspan="3"><font color="#ff0000">from
<asp:DropDownList id="ddl_yearfrom" runat="server" Width="54px">
<asp:ListItem Value="2000" Selected="True">2000</asp:ListItem>
<asp:ListItem Value="2001">2001</asp:ListItem>
<asp:ListItem Value="2002">2002</asp:ListItem>
<asp:ListItem Value="2003">2003</asp:ListItem>
<asp:ListItem Value="2004">2004</asp:ListItem>
<asp:ListItem Value="2005">2005</asp:ListItem>
<asp:ListItem Value="2006">2006</asp:ListItem>
<asp:ListItem Value="2007">2007</asp:ListItem>
<asp:ListItem Value="2008">2008</asp:ListItem>
</asp:DropDownList>year</font>
<asp:DropDownList id="ddl_monthfrom" runat="server" Width="39px">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="6">6</asp:ListItem>
<asp:ListItem Value="7">7</asp:ListItem>
<asp:ListItem Value="8">8</asp:ListItem>
<asp:ListItem Value="9">9</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
<asp:ListItem Value="11">11</asp:ListItem>
<asp:ListItem Value="12">12</asp:ListItem>
</asp:DropDownList>month
<asp:DropDownList id="ddl_dayfrom" runat="server" Width="35px">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="6">6</asp:ListItem>
<asp:ListItem Value="7">7</asp:ListItem>
<asp:ListItem Value="8">8</asp:ListItem>
<asp:ListItem Value="9">9</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
<asp:ListItem Value="11">11</asp:ListItem>
<asp:ListItem Value="12">12</asp:ListItem>
<asp:ListItem Value="13">13</asp:ListItem>
<asp:ListItem Value="14">14</asp:ListItem>
<asp:ListItem Value="15">15</asp:ListItem>
<asp:ListItem Value="16">16</asp:ListItem>
<asp:ListItem Value="17">17</asp:ListItem>
<asp:ListItem Value="18">18</asp:ListItem>
<asp:ListItem Value="19">19</asp:ListItem>
<asp:ListItem Value="20">20</asp:ListItem>
<asp:ListItem Value="21">21</asp:ListItem>
<asp:ListItem Value="22">22</asp:ListItem>
<asp:ListItem Value="23">23</asp:ListItem>
<asp:ListItem Value="24">24</asp:ListItem>
<asp:ListItem Value="25">25</asp:ListItem>
<asp:ListItem Value="26">26</asp:ListItem>
<asp:ListItem Value="27">27</asp:ListItem>
<asp:ListItem Value="28">28</asp:ListItem>
<asp:ListItem Value="29">29</asp:ListItem>
<asp:ListItem Value="30">30</asp:ListItem>
<asp:ListItem Value="31">31</asp:ListItem>
</asp:DropDownList>day<FONT color="#ff0000">--to--
<asp:DropDownList id="ddl_yearto" runat="server" Width="54px">
<asp:ListItem Value="2000">2000</asp:ListItem>
<asp:ListItem Value="2001">2001</asp:ListItem>
<asp:ListItem Value="2002">2002</asp:ListItem>
<asp:ListItem Value="2003">2003</asp:ListItem>
<asp:ListItem Value="2004">2004</asp:ListItem>
<asp:ListItem Value="2005">2005</asp:ListItem>
<asp:ListItem Value="2006">2006</asp:ListItem>
<asp:ListItem Value="2007">2007</asp:ListItem>
<asp:ListItem Value="2008" Selected="True">2008</asp:ListItem>
</asp:DropDownList>year </FONT>
<asp:DropDownList id="ddl_monthto" runat="server" Width="39px">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="6">6</asp:ListItem>
<asp:ListItem Value="7">7</asp:ListItem>
<asp:ListItem Value="8">8</asp:ListItem>
<asp:ListItem Value="9">9</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
<asp:ListItem Value="11">11</asp:ListItem>
<asp:ListItem Value="12" Selected="True">12</asp:ListItem>
</asp:DropDownList>month<asp:DropDownList id="ddl_dayto" runat="server" Width="35px">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="6">6</asp:ListItem>
<asp:ListItem Value="7">7</asp:ListItem>
<asp:ListItem Value="8">8</asp:ListItem>
<asp:ListItem Value="9">9</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
<asp:ListItem Value="11">11</asp:ListItem>
<asp:ListItem Value="12">12</asp:ListItem>
<asp:ListItem Value="13">13</asp:ListItem>
<asp:ListItem Value="14">14</asp:ListItem>
<asp:ListItem Value="15">15</asp:ListItem>
<asp:ListItem Value="16">16</asp:ListItem>
<asp:ListItem Value="17">17</asp:ListItem>
<asp:ListItem Value="18">18</asp:ListItem>
<asp:ListItem Value="19">19</asp:ListItem>
<asp:ListItem Value="20">20</asp:ListItem>
<asp:ListItem Value="21">21</asp:ListItem>
<asp:ListItem Value="22">22</asp:ListItem>
<asp:ListItem Value="23">23</asp:ListItem>
<asp:ListItem Value="24">24</asp:ListItem>
<asp:ListItem Value="25">25</asp:ListItem>
<asp:ListItem Value="26">26</asp:ListItem>
<asp:ListItem Value="27">27</asp:ListItem>
<asp:ListItem Value="28">28</asp:ListItem>
<asp:ListItem Value="29">29</asp:ListItem>
<asp:ListItem Value="30">30</asp:ListItem>
<asp:ListItem Value="31" Selected="True">31</asp:ListItem>
</asp:DropDownList>day</td>
</tr>
<tr>
<td colspan="4" align="center">
<asp:Button id="btn_statistic" runat="server" Text="Start count" onclick="btn_statistic_Click"></asp:Button></td>
</tr>
</table>
</div>
<FONT face="宋体"></FONT>
</td>
</tr>
<tr align="center" valign="middle" bgcolor="#eeeeee">
<td bgcolor="#ffffff" height="58" valign="top" align="center" style="HEIGHT: 58px; width: 553px;">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="activeborder">
Count result:</td>
</tr>
<tr>
<td vAlign="top" align="center">
<asp:DataGrid id="dgd_count" runat="server" Width="460px" AutoGenerateColumns="False" AllowPaging="True">
<Columns>
<asp:BoundColumn DataField="bname" HeaderText="Book name"></asp:BoundColumn>
<asp:BoundColumn DataField="bauthor" HeaderText="Author"></asp:BoundColumn>
<asp:BoundColumn DataField="bpress" HeaderText="Press"></asp:BoundColumn>
<asp:BoundColumn DataField="oquantity" HeaderText="Sell quantity"></asp:BoundColumn>
<asp:BoundColumn DataField="allprice" HeaderText="transaction sum"></asp:BoundColumn>
</Columns>
<PagerStyle NextPageText="上一页" Mode="NumericPages"></PagerStyle>
</asp:DataGrid></td>
</tr>
<tr>
<td>
Total market count:
<asp:Label id="lbl_count" runat="server" ForeColor="Red"></asp:Label></td>
</tr>
</table>
</div>
</td>
</tr>
<tr align="center" valign="middle" bgcolor="#eeeeee">
<td bgcolor="activeborder" height="2" style="width: 553px">
<asp:HyperLink id="hlk_bookmanage" runat="server" NavigateUrl="bookmanage.aspx">Book mangement</asp:HyperLink><FONT face="宋体">
</FONT>
<asp:HyperLink id="hlk_userlist" runat="server" NavigateUrl="userlist.aspx">User mangement</asp:HyperLink><FONT face="宋体">
</FONT>
<asp:HyperLink id="hlk_default" runat="server" NavigateUrl="default.aspx">Main bage</asp:HyperLink></td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -