newPass.aspx
上传用户:yawei0714
上传日期:2020-11-26
资源大小:1004k
文件大小:10k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

HTML/CSS

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="newPass.aspx.cs" Inherits="newPass" %>
  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>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.         &nbsp;
  11.         <table border="0" cellpadding="0" cellspacing="0">
  12.             <tr>
  13.                 <td colspan="4" style="width: 539px; height: 18px; text-align: center">
  14.                     <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">修改详细信息</asp:LinkButton>
  15.                     &nbsp; &nbsp; &nbsp;
  16.                     <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">修改密码</asp:LinkButton></td>
  17.             </tr>
  18.         </table>
  19.         <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
  20.         <table border="0" cellpadding="0" cellspacing="0" style="width: 541px; height: 68px">
  21.             <tr>
  22.                 <td style="width: 70px">
  23.                 </td>
  24.                 <td style="width: 100px">
  25.                     密码:</td>
  26.                 <td style="width: 100px">
  27.                     <asp:TextBox ID="txtOldPass" runat="server" Width="127px" TextMode="Password"></asp:TextBox>
  28.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display="Dynamic"
  29.                         ErrorMessage="*" ControlToValidate="txtOldPass"></asp:RequiredFieldValidator></td>
  30.                 <td style="width: 100px">
  31.                 </td>
  32.             </tr>
  33.             <tr>
  34.                 <td style="width: 70px">
  35.                 </td>
  36.                 <td style="width: 100px">
  37.                     新密码:</td>
  38.                 <td style="width: 100px">
  39.                     <asp:TextBox ID="txtNewPass" runat="server" Width="123px" TextMode="Password"></asp:TextBox>
  40.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNewPass"
  41.                         Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
  42.                 <td style="width: 100px">
  43.                 </td>
  44.             </tr>
  45.             <tr>
  46.                 <td style="width: 70px">
  47.                 </td>
  48.                 <td style="width: 100px">
  49.                     确认密码:</td>
  50.                 <td style="width: 100px">
  51.                     <asp:TextBox ID="txtQNewPass" runat="server" Width="123px" TextMode="Password"></asp:TextBox>
  52.                     <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPass"
  53.                         ControlToValidate="txtQNewPass" Display="Dynamic" ErrorMessage="两次密码不一致"></asp:CompareValidator></td>
  54.                 <td style="width: 100px">
  55.                 </td>
  56.             </tr>
  57.             <tr>
  58.                 <td colspan="1" style="width: 70px; text-align: center">
  59.                 </td>
  60.                 <td colspan="3" style="text-align: center">
  61.                     <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="修 改" Width="60px" /></td>
  62.             </tr>
  63.         </table>
  64.         </asp:Panel>
  65.         <br />
  66.         <asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px">
  67.             <table border="0" cellpadding="0" cellspacing="0" style="width: 542px; height: 488px">
  68.                 <tr>
  69.                     <td colspan="4" style="height: 22px; text-align: center">
  70.                         <span style="font-size: 14pt; color: #6600ff"></span>
  71.                     </td>
  72.                 </tr>
  73.                 <tr>
  74.                     <td style="width: 146px">
  75.                     </td>
  76.                     <td style="width: 178px">
  77.                         联系人:</td>
  78.                     <td style="width: 61px; text-align: left">
  79.                         <asp:TextBox ID="txtLinkman" runat="server"></asp:TextBox></td>
  80.                     <td style="width: 100px">
  81.                     </td>
  82.                 </tr>
  83.                 <tr>
  84.                     <td style="width: 146px">
  85.                     </td>
  86.                     <td style="width: 178px">
  87.                         企业名称:</td>
  88.                     <td style="width: 61px">
  89.                         <asp:TextBox ID="txtCompanyName" runat="server"></asp:TextBox></td>
  90.                     <td style="width: 100px">
  91.                     </td>
  92.                 </tr>
  93.                 <tr>
  94.                     <td style="width: 146px">
  95.                     </td>
  96.                     <td style="width: 178px">
  97.                         公司性质:</td>
  98.                     <td style="width: 61px; text-align: left">
  99.                         <asp:DropDownList ID="ddlKind" runat="server" Width="59px">
  100.                             <asp:ListItem>私企</asp:ListItem>
  101.                             <asp:ListItem>国企</asp:ListItem>
  102.                             <asp:ListItem>外资</asp:ListItem>
  103.                         </asp:DropDownList></td>
  104.                     <td style="width: 100px">
  105.                     </td>
  106.                 </tr>
  107.                 <tr>
  108.                     <td style="width: 146px">
  109.                     </td>
  110.                     <td style="width: 178px">
  111.                         所属行业:</td>
  112.                     <td style="width: 61px">
  113.                         <asp:TextBox ID="txtCalling" runat="server"></asp:TextBox></td>
  114.                     <td style="width: 100px">
  115.                     </td>
  116.                 </tr>
  117.                 <tr>
  118.                     <td style="width: 146px; height: 24px">
  119.                     </td>
  120.                     <td style="width: 178px; height: 24px">
  121.                         营业执照号:</td>
  122.                     <td style="width: 61px; height: 24px">
  123.                         <asp:TextBox ID="txtLicenceNumber" runat="server"></asp:TextBox></td>
  124.                     <td style="width: 100px; height: 24px">
  125.                     </td>
  126.                 </tr>
  127.                 <tr>
  128.                     <td style="width: 146px">
  129.                     </td>
  130.                     <td style="width: 178px">
  131.                         公司地址:</td>
  132.                     <td style="width: 61px">
  133.                         <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
  134.                     <td style="width: 100px">
  135.                     </td>
  136.                 </tr>
  137.                 <tr>
  138.                     <td style="width: 146px">
  139.                     </td>
  140.                     <td style="width: 178px">
  141.                         联系电话:</td>
  142.                     <td style="width: 61px">
  143.                         <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></td>
  144.                     <td style="width: 100px">
  145.                     </td>
  146.                 </tr>
  147.                 <tr>
  148.                     <td style="width: 146px">
  149.                     </td>
  150.                     <td style="width: 178px">
  151.                         传真:</td>
  152.                     <td style="width: 61px">
  153.                         <asp:TextBox ID="txtFax" runat="server"></asp:TextBox></td>
  154.                     <td style="width: 100px">
  155.                     </td>
  156.                 </tr>
  157.                 <tr>
  158.                     <td style="width: 146px">
  159.                     </td>
  160.                     <td style="width: 178px">
  161.                         E-mail:</td>
  162.                     <td style="width: 61px">
  163.                         <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
  164.                         <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
  165.                             Display="Dynamic" ErrorMessage="E-mail格式不正确" ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*"></asp:RegularExpressionValidator></td>
  166.                     <td style="width: 100px">
  167.                     </td>
  168.                 </tr>
  169.                 <tr>
  170.                     <td style="width: 146px">
  171.                     </td>
  172.                     <td style="width: 178px">
  173.                         公司网址:</td>
  174.                     <td style="width: 61px">
  175.                         <asp:TextBox ID="txtNetworkIP" runat="server"></asp:TextBox>
  176.                         <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtNetworkIP"
  177.                             Display="Dynamic" ErrorMessage="网址格式不正确" ValidationExpression="http(s)?://([w-]+.)+[w-]+(/[w- ./?%&=]*)?"
  178.                             Width="127px"></asp:RegularExpressionValidator></td>
  179.                     <td style="width: 100px">
  180.                     </td>
  181.                 </tr>
  182.                 <tr>
  183.                     <td style="width: 146px; height: 42px">
  184.                     </td>
  185.                     <td style="width: 178px; height: 42px">
  186.                         公司介绍:</td>
  187.                     <td style="width: 61px; height: 42px">
  188.                         <asp:TextBox ID="txtContent" runat="server" Height="124px" TextMode="MultiLine" Width="247px"></asp:TextBox></td>
  189.                     <td style="width: 100px; height: 42px">
  190.                     </td>
  191.                 </tr>
  192.                 <tr>
  193.                     <td colspan="4" style="height: 28px; text-align: center">
  194.                         <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="注 册" Width="55px" /></td>
  195.                 </tr>
  196.             </table>
  197.         </asp:Panel>
  198.         <br />
  199.     
  200.     </div>
  201.     </form>
  202. </body>
  203. </html>