📄 password.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/GeneralUser.master" AutoEventWireup="true" EnableViewState ="false" CodeFile="Password.aspx.cs" Inherits="Password" Title="密码修改" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 789px">
<tr>
<td colspan="4">
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/houtaiguanli.png" Width="784px" /></td>
<td colspan="1">
</td>
</tr>
<tr>
<td align="center" style="height: 36px">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/wangzhanpeizhi.gif" PostBackUrl="~/houtaiziliao.aspx" /></td>
<td align="center" style="height: 36px">
<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/jinriwenzhang.gif" PostBackUrl="~/todaytext.aspx" /></td>
<td align="center" style="height: 36px">
<asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/images/fenyuetongji.gif" PostBackUrl="~/monthTotal.aspx" /></td>
<td align="center" style="width: 63px; height: 36px">
<asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/images/mimaxiugai.gif" PostBackUrl="~/Password.aspx" /></td>
<td align="center" style="width: 63px; height: 36px">
</td>
</tr>
<tr>
<td style="font-size: 12px;" align="center">
<asp:Label ID="Label1" runat="server" Font-Names="宋体" Font-Size="9pt" Text="网站配置"></asp:Label></td>
<td align="center" style="font-size: 12px;">
<asp:Label ID="Label2" runat="server" Font-Names="宋体" Font-Size="9pt" Text="今日文章"></asp:Label></td>
<td align="center" style="font-size: 12px;">
<asp:Label ID="Label3" runat="server" Font-Names="宋体" Font-Size="9pt" Text="分月统计"></asp:Label></td>
<td align="center" style="font-size: 12px; width: 63px;">
<asp:Label ID="Label4" runat="server" Font-Names="宋体" Font-Size="9pt" Text="密码修改"></asp:Label></td>
<td align="center" style="font-size: 12px; width: 63px">
</td>
</tr>
<tr>
<td align="center" style="font-size: 12px; height: 26px">
<asp:Label ID="Label7" runat="server" Text="旧密码" Height="14px" Width="48px"></asp:Label></td>
<td colspan="3" style="font-size: 12px; height: 26px">
<asp:TextBox ID="TextBox1" runat="server" MaxLength="10" Font-Size="12px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox1"
Display="Dynamic" ErrorMessage="旧密码不能为空" ValidationGroup="a"></asp:RequiredFieldValidator></td>
<td colspan="1" style="font-size: 12px; height: 26px">
</td>
</tr>
<tr>
<td align="center" style="font-size: 12px;">
<asp:Label ID="Label5" runat="server" Font-Names="宋体" Font-Size="9pt" Text="新密码" Height="14px" Width="48px"></asp:Label></td>
<td colspan="3" style="font-size: 12px">
<asp:TextBox ID="txtInput" runat="server" TextMode="Password" MaxLength="10" Font-Size="12px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtInput"
ErrorMessage="密码不能为空" ValidationGroup="a"></asp:RequiredFieldValidator></td>
<td colspan="1" style="font-size: 12px">
</td>
</tr>
<tr>
<td align="center" style="font-size: 12px;">
<asp:Label ID="Label6" runat="server" Font-Names="宋体" Font-Size="9pt" Text="确认密码"></asp:Label></td>
<td colspan="3" style="font-size: 12px;">
<asp:TextBox ID="txtOk" runat="server" TextMode="Password" MaxLength="10" Font-Size="12px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtOk"
ErrorMessage="确认密码不能为空" ValidationGroup="a" Display="Dynamic"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtInput"
ControlToValidate="txtOk" ErrorMessage="你输入的两次密码不相同" ValidationGroup="a" Display="Dynamic"></asp:CompareValidator></td>
<td colspan="1" style="font-size: 12px">
</td>
</tr>
<tr>
<td align="left" colspan="1" style="font-size: 12px; height: 24px">
</td>
<td colspan="4" style="font-size: 12px; height: 24px;" align="left">
<asp:Button ID="btnSave" runat="server" Font-Names="宋体" Font-Size="9pt" Text="保存" OnClick="btnSave_Click" Width="56px" ValidationGroup="a" />
<asp:Button ID="Button1" runat="server" Font-Size="12px" OnClick="Button1_Click"
Text="取消" Height="21px" Width="56px" /></td>
<td align="center" colspan="1" style="font-size: 12px; height: 24px">
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -