ClientLink.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:13k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClientLink.aspx.cs" Inherits="Module_Employee_Relation_ClientLink" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>客户关系</title>
  6. </head>
  7. <body style="vertical-align: middle; text-align: center; background-image: url(../../Images/SysSkin/chancelink.jpg); background-repeat: no-repeat;">
  8.     <form id="form1" runat="server">
  9.     <div>
  10.         <br />
  11.         &nbsp;</div>
  12.         <table cellpadding="0" cellspacing="0" style="width: 605px">
  13.             <tr>
  14.                 <td colspan="3" rowspan="3" style="vertical-align: top; text-align: center">
  15.                     <asp:Panel ID="Panel1" runat="server" Width="125px">
  16.                         <table cellpadding="0" cellspacing="0" style="vertical-align: middle; width: 605px;
  17.                             text-align: center">
  18.                             <tr>
  19.                                 <td colspan="4" style="height: 21px">
  20.                                     <table cellpadding="0" cellspacing="0" style="width: 600px">
  21.                                         <tr>
  22.                                             <td style="width: 100px; height: 23px">
  23.                                                 <span style="font-size: 9pt">查找类别</span></td>
  24.                                             <td style="width: 120px; height: 23px; text-align: left">
  25.                                                 <asp:DropDownList ID="dropClass" runat="server" Font-Size="9pt" Width="120px">
  26.                                                     <asp:ListItem>客户ID</asp:ListItem>
  27.                                                     <asp:ListItem>客户名称</asp:ListItem>
  28.                                                     <asp:ListItem>客户类型</asp:ListItem>
  29.                                                 </asp:DropDownList></td>
  30.                                             <td style="width: 100px; height: 23px">
  31.                                                 <span style="font-size: 9pt">关键字</span></td>
  32.                                             <td style="width: 120px; height: 23px; text-align: left">
  33.                                                 <asp:TextBox ID="txtKeyWord" runat="server" Font-Size="9pt" Width="120px"></asp:TextBox></td>
  34.                                             <td style="width: 12px; height: 23px">
  35.                                                 <asp:Button ID="btnFind" runat="server" Font-Size="9pt" OnClick="btnFind_Click" Text="查找" /></td>
  36.                                             <td style="height: 23px">
  37.                                                 <asp:LinkButton ID="lnkbtnAdd" runat="server" Font-Size="9pt" Font-Underline="False"
  38.                                                     ForeColor="#FF3333" OnClick="lnkbtnAdd_Click1" Visible="False">添加客户关系</asp:LinkButton></td>
  39.                                         </tr>
  40.                                     </table>
  41.                                 </td>
  42.                             </tr>
  43.                             <tr>
  44.                                 <td colspan="4" style="vertical-align: top; height: 227px; text-align: center">
  45.                                     <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
  46.                                         Font-Size="9pt" OnPageIndexChanging="GridView1_PageIndexChanging" Width="605px">
  47.                                         <Columns>
  48.                                             <asp:BoundField DataField="ID" HeaderText="客户ID" />
  49.                                             <asp:BoundField DataField="ClientName" HeaderText="客户名称" />
  50.                                             <asp:BoundField DataField="ClientClass" HeaderText="客户类型" />
  51.                                             <asp:BoundField DataField="ClientProPerty" HeaderText="客户性质" />
  52.                                             <asp:BoundField DataField="Country" HeaderText="所在国家" />
  53.                                             <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ClientLinkInfo.aspx?ID={0}"
  54.                                                 HeaderText="查看详情" Text="查看" />
  55.                                         </Columns>
  56.                                     </asp:GridView>
  57.                                 </td>
  58.                             </tr>
  59.                         </table>
  60.                     </asp:Panel>
  61.                     <asp:Panel ID="Panel2" runat="server" Height="50px" Visible="False" Width="125px">
  62.                         <table cellpadding="0" cellspacing="0" style="font-size: 9pt; width: 605px">
  63.                             <tr>
  64.                                 <td colspan="4" style="height: 26px">
  65.                                 </td>
  66.                             </tr>
  67.                             <tr>
  68.                                 <td colspan="4" style="height: 26px">
  69.                                 </td>
  70.                             </tr>
  71.                             <tr>
  72.                                 <td colspan="4">
  73.                                     <strong><span style="font-size: 16pt"></span></strong></td>
  74.                             </tr>
  75.                             <tr>
  76.                                 <td style="width: 100px">
  77.                                     <span style="font-size: 9pt">客户名称</span></td>
  78.                                 <td style="width: 200px; text-align: left">
  79.                                     <asp:TextBox ID="txtName" runat="server" Font-Size="9pt"></asp:TextBox>
  80.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
  81.                                         ErrorMessage="客户名称不能为空">*</asp:RequiredFieldValidator></td>
  82.                                 <td style="width: 100px">
  83.                                     <span style="font-size: 9pt">客户性质</span></td>
  84.                                 <td style="width: 205px; text-align: left">
  85.                                     <asp:DropDownList ID="dropProperty" runat="server" Font-Size="9pt" Width="132px">
  86.                                         <asp:ListItem>不限制</asp:ListItem>
  87.                                         <asp:ListItem>非赢利机构</asp:ListItem>
  88.                                         <asp:ListItem>国营企业</asp:ListItem>
  89.                                         <asp:ListItem>合资企业</asp:ListItem>
  90.                                         <asp:ListItem>私营企业</asp:ListItem>
  91.                                         <asp:ListItem>外企代表处</asp:ListItem>
  92.                                         <asp:ListItem>外商独资</asp:ListItem>
  93.                                         <asp:ListItem>外商合资</asp:ListItem>
  94.                                         <asp:ListItem>其他</asp:ListItem>
  95.                                     </asp:DropDownList></td>
  96.                             </tr>
  97.                             <tr>
  98.                                 <td style="height: 23px">
  99.                                     <span style="font-size: 9pt">客户类别</span></td>
  100.                                 <td style="text-align: left; height: 23px;">
  101.                                     <asp:DropDownList ID="dropClass1" runat="server" Font-Size="9pt" Width="132px">
  102.                                         <asp:ListItem>不限制</asp:ListItem>
  103.                                         <asp:ListItem>VIP客户</asp:ListItem>
  104.                                         <asp:ListItem>金牌客户</asp:ListItem>
  105.                                         <asp:ListItem>银牌客户</asp:ListItem>
  106.                                         <asp:ListItem>铜牌客户</asp:ListItem>
  107.                                         <asp:ListItem>大集团客户</asp:ListItem>
  108.                                         <asp:ListItem>潜在客户</asp:ListItem>
  109.                                         <asp:ListItem>其他</asp:ListItem>
  110.                                     </asp:DropDownList></td>
  111.                                 <td style="height: 23px">
  112.                                     <span style="font-size: 9pt">客户电话</span></td>
  113.                                 <td style="text-align: left; height: 23px;">
  114.                                     <asp:TextBox ID="txtClientPhone" runat="server" Font-Size="9pt"></asp:TextBox></td>
  115.                             </tr>
  116.                             <tr>
  117.                                 <td>
  118.                                     传真</td>
  119.                                 <td style="text-align: left">
  120.                                     <asp:TextBox ID="txtFax" runat="server" Font-Size="9pt"></asp:TextBox></td>
  121.                                 <td>
  122.                                     电子邮箱</td>
  123.                                 <td style="text-align: left">
  124.                                     <asp:TextBox ID="txtEmail" runat="server" Font-Size="9pt"></asp:TextBox></td>
  125.                             </tr>
  126.                             <tr>
  127.                                 <td>
  128.                                     所在国家</td>
  129.                                 <td style="text-align: left">
  130.                                     <asp:TextBox ID="txtCounty" runat="server" Font-Size="9pt"></asp:TextBox></td>
  131.                                 <td>
  132.                                     所在省份</td>
  133.                                 <td style="text-align: left">
  134.                                     <asp:TextBox ID="txtProvince" runat="server" Font-Size="9pt"></asp:TextBox></td>
  135.                             </tr>
  136.                             <tr>
  137.                                 <td>
  138.                                     所在城市</td>
  139.                                 <td style="text-align: left">
  140.                                     <asp:TextBox ID="txtCity" runat="server" Font-Size="9pt"></asp:TextBox></td>
  141.                                 <td>
  142.                                     邮政编码</td>
  143.                                 <td style="text-align: left">
  144.                                     <asp:TextBox ID="txtPostCode" runat="server" Font-Size="9pt"></asp:TextBox></td>
  145.                             </tr>
  146.                             <tr>
  147.                                 <td style="height: 21px">
  148.                                     商业关系</td>
  149.                                 <td style="text-align: left; height: 21px;">
  150.                                     <asp:DropDownList ID="dropRelation" runat="server" Font-Size="9pt" Width="132px">
  151.                                         <asp:ListItem>不限制</asp:ListItem>
  152.                                         <asp:ListItem>产品伙伴</asp:ListItem>
  153.                                         <asp:ListItem>服务伙伴</asp:ListItem>
  154.                                         <asp:ListItem>合作伙伴</asp:ListItem>
  155.                                         <asp:ListItem>技术伙伴</asp:ListItem>
  156.                                         <asp:ListItem>竞争对手</asp:ListItem>
  157.                                         <asp:ListItem>客户伙伴</asp:ListItem>
  158.                                         <asp:ListItem>最终客户</asp:ListItem>
  159.                                         <asp:ListItem>其他</asp:ListItem>
  160.                                     </asp:DropDownList></td>
  161.                                 <td style="height: 21px">
  162.                                     录入人员</td>
  163.                                 <td style="text-align: left; height: 21px;">
  164.                                     <asp:DropDownList ID="dropName" runat="server" Font-Size="9pt" Width="132px">
  165.                                     </asp:DropDownList></td>
  166.                             </tr>
  167.                             <tr>
  168.                                 <td colspan="4">
  169.                                     <asp:Button ID="btnOK" runat="server" Font-Size="9pt" OnClick="btnOK_Click" Text="提交" />
  170.                                     <input id="Reset1" style="font-size: 9pt" type="reset" value="重置" />
  171.                                     <asp:Button ID="btnBack" runat="server" Font-Size="9pt" OnClick="btnBack_Click" Text="返回" CausesValidation="False" /><br />
  172.                                     &nbsp;<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
  173.                                         ShowSummary="False" />
  174.                                 </td>
  175.                             </tr>
  176.                         </table>
  177.                     </asp:Panel>
  178.                 </td>
  179.             </tr>
  180.             <tr>
  181.             </tr>
  182.             <tr>
  183.             </tr>
  184.         </table>
  185.     </form>
  186. </body>
  187. </html>