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

📄 customer.aspx

📁 客户关系管理系统 客户关系管理系统
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="customer.aspx.cs" Inherits="client_customer" 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="btnSel" class="common_button" Text="查询" OnClick="btnSel_Click"/>  
</div>
<table class="query_form_table">
	<tr>
		<th>客户编号</th>
		<td><asp:TextBox runat="server" ID="num"></asp:TextBox></td>
		<th>名称</th>
		<td><asp:TextBox runat="server" ID="name"></asp:TextBox></td>
		<th>地区</th>
		<td>
            <asp:DropDownList ID="ddl1" runat="server">
            </asp:DropDownList>
		</td>
	</tr>
	<tr>
		<th>客户经理</th>
		<td><asp:TextBox runat="server" ID="mananger"></asp:TextBox></td>
		<th>客户等级</th>
		<td>
			 <asp:DropDownList ID="ddl2" runat="server">
            </asp:DropDownList>
		</td>
		<th> </th>
		<td> </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("customer_no") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
     <asp:BoundField DataField="customer_name" HeaderText="名称" /> 
      <asp:BoundField  DataField="customer_region"  HeaderText="地区" />    
     <asp:BoundField DataField="customer_manager_name"  HeaderText="客户经理" /> 
      <asp:BoundField  DataField="customer_level_label" HeaderText="客户等级" /> 
        <asp:TemplateField HeaderText="操作">
            <ItemTemplate>
            <asp:ImageButton ID="ImageButton2" runat="server" CommandName="edit" CommandArgument='<%#Eval("customer_no") %>' ToolTip="编辑" ImageUrl="~/images/bt_edit.gif" />
                <asp:ImageButton ID="ImageButton1" runat="server" CommandName="lianxi" CommandArgument='<%#Eval("customer_no") %>' ToolTip="联系人" Height="16px" ImageUrl="~/images/bt_linkman.gif" Width="17px" />
                <asp:ImageButton ID="ImageButton3" runat="server" CommandName="jiaowang" CommandArgument='<%#Eval("customer_no") %>' ToolTip="交往记录" ImageUrl="~/images/bt_acti.gif" />
                 <asp:ImageButton ID="ImageButton4" runat="server" CommandName="lishi" CommandArgument='<%#Eval("customer_no") %>' ToolTip="历史记录" ImageUrl="~/images/bt_orders.gif" />
                <asp:ImageButton ID="imgbtnDelete" runat="server" CommandName="del" CommandArgument='<%#Eval("customer_no") %>'  ToolTip="删除" ImageUrl="~/images/bt_del.gif" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Left" />
        </asp:TemplateField>
     </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 + -