📄 updatepass.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdatePass.aspx.cs" Inherits="employees_UpdatePass" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body text="#00">
<form id="form1" runat="server">
<div>
<br />
<br />
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width: 439px">
<tr>
<td style="width: 1490px; height: 30px;">
请输入旧密码:</td>
<td style="width: 112px; height: 30px;">
<asp:TextBox ID="txtOPass" runat="server" Height="22px" Width="148px"></asp:TextBox></td>
<td style="width: 320px; height: 30px">
</td>
</tr>
<tr>
<td style="width: 1490px; height: 24px;">
请输入密码:</td>
<td style="width: 112px; height: 24px;">
<asp:TextBox ID="txtPass" runat="server"></asp:TextBox></td>
<td style="width: 320px; height: 24px">
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtPass"
ErrorMessage="密码长度在6~20位" ValidationExpression="^[\d\w]{6,12}$" Width="165px"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="width: 1490px">
确认密码:</td>
<td style="width: 112px">
<asp:TextBox ID="txtPass1" runat="server" Width="149px"></asp:TextBox></td>
<td style="width: 320px">
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPass"
ControlToValidate="txtPass1" ErrorMessage="两次输入的密码不正确" Width="164px"></asp:CompareValidator></td>
</tr>
<tr>
<td colspan="2" style="height: 24px">
<asp:Button ID="Button1" runat="server" Text="确定" OnClick="Button1_Click" /></td>
<td colspan="1" style="width: 320px; height: 24px">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -