📄 changepassword.aspx
字号:
<%@ Register TagPrefix="cc1" Namespace="Hongfan.Components" Assembly="PanelEx" %>
<%@ Page language="c#" Codebehind="ChangePassword.aspx.cs" AutoEventWireup="false" Inherits="BookShop.ChangePassword" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>ChangePassword</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="ChangePassword" method="post" runat="server">
<cc1:PanelEx MS_POSITIONING="GridLayout" id="PanelEx1" style="Z-INDEX: 100; LEFT: 107px; POSITION: absolute; TOP: 68px" runat="server" title="Change password" Height="202px" Width="349px">
<TABLE id="Table1" style="Z-INDEX: 991; LEFT: 37px; WIDTH: 278px; POSITION: absolute; TOP: 30px; HEIGHT: 147px" cellSpacing="1" cellPadding="1" width="278" border="0">
<TR>
<TD style="WIDTH: 118px"><FONT face="宋体">
<asp:label id="Label1" runat="server" Height="18px" Width="100px" ForeColor="Red" Font-Size="X-Small">Name:</asp:label></FONT></TD>
<TD style="WIDTH: 122px">
<asp:textbox id="txtName" runat="server" Height="23px" Width="128px" BorderColor="Transparent" BorderStyle="Groove"></asp:textbox></TD>
<TD>
<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" Height="4px" Width="2px" Font-Size="X-Small" ErrorMessage="Need name!" ControlToValidate="txtName">*</asp:requiredfieldvalidator></TD>
</TR>
<TR>
<TD style="WIDTH: 118px"><FONT face="宋体">
<asp:label id="Label3" runat="server" Height="7px" Width="102px" ForeColor="Red" Font-Size="X-Small">Old password:</asp:label></FONT></TD>
<TD style="WIDTH: 122px">
<asp:textbox id="txtOldPwd" runat="server" Height="23px" Width="128px" BorderColor="Transparent" BorderStyle="Groove" TextMode="Password"></asp:textbox></TD>
<TD>
<asp:requiredfieldvalidator id="Requiredfieldvalidator3" runat="server" Height="3px" Width="1px" Font-Size="X-Small" ErrorMessage="Need old password!" ControlToValidate="txtOldPwd">*</asp:requiredfieldvalidator></TD>
</TR>
<TR>
<TD style="WIDTH: 118px">
<asp:label id="Label2" runat="server" Height="19px" Width="102px" ForeColor="Red" Font-Size="X-Small">New password:</asp:label></TD>
<TD style="WIDTH: 122px"><FONT face="宋体">
<asp:textbox id="txtPwd" runat="server" Height="23px" Width="128px" BorderColor="Transparent" BorderStyle="Groove" TextMode="Password"></asp:textbox></FONT></TD>
<TD>
<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" Height="9px" Width="3px" Font-Size="X-Small" ErrorMessage="Need new password" ControlToValidate="txtPwd">*</asp:requiredfieldvalidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" Width="1px" Font-Size="X-Small" ErrorMessage="Password legth:3-32" ControlToValidate="txtPwd" ValidationExpression="\w{3,32}">*</asp:RegularExpressionValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 118px; HEIGHT: 27px">
<asp:label id="Label4" runat="server" Height="15px" Width="111px" ForeColor="Red" Font-Size="X-Small">Confirm password:</asp:label></TD>
<TD style="WIDTH: 122px; HEIGHT: 27px">
<asp:textbox id="txtPwd2" runat="server" Height="23px" Width="128px" BorderStyle="Groove" TextMode="Password"></asp:textbox></TD>
<TD style="HEIGHT: 27px">
<asp:comparevalidator id="CompareValidator1" runat="server" Height="15px" Width="4px" Font-Size="X-Small" ErrorMessage="Need confirm password!" ControlToValidate="txtPwd2" ControlToCompare="txtPwd">*</asp:comparevalidator></TD>
</TR>
<TR>
<TD style="WIDTH: 243px" align="middle" colSpan="2"><FONT face="宋体"></FONT>
<asp:imagebutton id="btnUpdate" runat="server" DESIGNTIMEDRAGDROP="48" Height="20px" Width="76px" ImageUrl="img\chpwd.gif"></asp:imagebutton></TD>
<TD align="middle"></TD>
</TR>
</TABLE>
<asp:Label id="lblInfo" style="Z-INDEX: 992; LEFT: 36px; POSITION: absolute; TOP: 178px" runat="server" Width="296px" Font-Size="X-Small"></asp:Label>
</cc1:PanelEx>
<asp:ValidationSummary id="ValidationSummary1" style="Z-INDEX: 103; LEFT: 20px; POSITION: absolute; TOP: 14px" runat="server" ShowSummary="False" ShowMessageBox="True"></asp:ValidationSummary>
<FONT face="宋体"></FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -