📄 modpassword.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModPassWord.aspx.cs" Inherits="UserInfo_ModPassWord" %>
<!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>
<form id="form1" runat="server">
<div>
<table style="width: 672px; height: 121px">
<tr>
<td colspan="2" style="background-color: #507cd1; height: 22px;">
修改密码</td>
</tr>
<tr>
<td style="width: 100px; background-color: aliceblue; height: 5px;">
输入旧密码:</td>
<td style="width: 100px; background-color: aliceblue; height: 5px;">
<asp:TextBox ID="txtOldPwd" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOldPwd"
ErrorMessage="请输入原来密码!" Style="position: relative; left: 10px; top: 0px;" Width="224px"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 99px; background-color: #f1f3f5; height: 16px;">
输入新密码:</td>
<td style="width: 100px; background-color: #f1f3f5; height: 16px;">
<asp:TextBox ID="txtNewPwd" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNewPwd"
ErrorMessage="请输入新密码!" Style="position: relative; left: 10px; top: 0px;" Width="234px"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 100px; background-color: aliceblue; height: 4px;">
新密码确认:</td>
<td style="width: 100px; background-color: aliceblue; height: 4px;">
<asp:TextBox ID="txtChkPwd" runat="server"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPwd"
ControlToValidate="txtChkPwd" ErrorMessage="密码不一样!" Style="position: relative; left: 10px; top: -3px;" Width="242px"></asp:CompareValidator></td>
</tr>
<tr>
<td style="width: 99px; background-color: #f1f3f5; height: 22px;">
</td>
<td style="width: 100px; background-color: #f1f3f5; height: 22px;">
<asp:Button ID="Btnupdate" runat="server" Text="更新" OnClick="Btnupdate_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -