📄 contrrpt.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="contrRpt.aspx.cs" Inherits="statistics_contrRpt" Title="客户贡献分析" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="page_title">客户贡献分析</div>
<div class="button_bar">
<button class="common_button" type="button" >帮助</button>
<asp:Button runat="server" ID="sel" Text="查询" class="common_button" OnClick="sel_Click" />
</div>
<table class="query_form_table">
<tr>
<th>客户名称</th>
<td><asp:TextBox runat="server" ID="name"></asp:TextBox></td>
<th>年份</th>
<td>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem Value="">全部</asp:ListItem>
<asp:ListItem>2004</asp:ListItem>
<asp:ListItem>2005</asp:ListItem>
<asp:ListItem>2006</asp:ListItem>
<asp:ListItem>2007</asp:ListItem>
<asp:ListItem>2008</asp:ListItem>
<asp:ListItem>2009</asp:ListItem>
<asp:ListItem>2010</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
<br />
<asp:GridView ID="GridView1" runat="server" CssClass="data_list_table" AutoGenerateColumns="False" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound" OnRowEditing="GridView1_RowEditing" OnRowCommand="GridView1_RowCommand">
<Columns>
<asp:TemplateField HeaderText="序号">
<ItemTemplate>
<asp:Label ID="Label1" runat="server"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="客户编号">
<ItemTemplate>
<asp:Label ID="num" runat="server" Text='<%# Eval("Customername") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="price" HeaderText="订单金额(元)" />
</Columns>
<PagerSettings FirstPageText="首页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
NextPageText="下一页" PreviousPageText="上一页" />
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -