📄 changepwd.aspx
字号:
<%@ Page language="c#" Codebehind="ChangePwd.aspx.cs" AutoEventWireup="false" Inherits="admin.ChangePwd" %>
<%@ Register TagPrefix="Admin" TagName="AdminMenu" Src="AdminMenu.ascx" %>
<HTML>
<HEAD>
<link rel="stylesheet" type="text/css" href="styles.css">
</HEAD>
<body background="../images/sitebkgrdnogray.gif" leftmargin="0" topmargin="0" rightmargin="0"
bottommargin="0" marginheight="0" marginwidth="0">
<table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
<tr>
<td valign="top" width="145" bgcolor="#9999cc" height="100%">
<Admin:AdminMenu id="Menu1" runat="server" />
<img height="1" src="images/1x1.gif" width="145">
</td>
<td align="center" valign="middle" width="700">
<table align="center" width="100%" border="0" height="100%">
<tr valign="top">
<td align="center">
<table align="center" width="100%" border="0" height="100%">
<tr valign="top">
<td align="center">
<form runat="server" ID="Form1">
<table border="1" bordercolor="#ffcc66">
<tr>
<td>
<TABLE id="Table1" align="center" cellSpacing="0" cellPadding="1" width="300" border="0"
height="100%">
<TR bgcolor="#ffcc66">
<TD colSpan="3" nowrap align="center"><FONT face="宋体"><b>更改管理员密码</b></FONT></TD>
</TR>
<TR>
<TD colSpan="3" nowrap align="center">
<asp:Label id="Message" runat="server" ForeColor="Red"></asp:Label></TD>
</TR>
<TR>
<TD nowrap><FONT face="宋体">旧密码:</FONT></TD>
<TD nowrap>
<asp:TextBox id="OldPassword" runat="server" TextMode="Password" BorderStyle="Groove"></asp:TextBox></TD>
<TD nowrap>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="OldPassword" ErrorMessage="*"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD nowrap><FONT face="宋体">新密码:</FONT></TD>
<TD nowrap>
<asp:TextBox id="NewPassword" runat="server" TextMode="Password" BorderStyle="Groove"></asp:TextBox></TD>
<TD nowrap>
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="NewPassword" ErrorMessage="*"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD nowrap><FONT face="宋体">确认新密码:</FONT></TD>
<TD nowrap>
<asp:TextBox id="Confirm" runat="server" TextMode="Password" BorderStyle="Groove"></asp:TextBox></TD>
<TD nowrap>
<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="Confirm" ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:CompareValidator id="CompareValidator1" runat="server" ControlToValidate="Confirm" ErrorMessage="两次密码不同"
ControlToCompare="NewPassword"></asp:CompareValidator></TD>
</TR>
<TR>
<TD colSpan="3" align="center">
<asp:Button id="Submit" runat="server" BorderStyle="Groove" Text="确定" Width="64px"></asp:Button></TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</FORM>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -