changepasswordquestionandanswer.ascx

来自「学生成绩管理系统」· ASCX 代码 · 共 37 行

ASCX
37
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChangePasswordQuestionAndAnswer.ascx.cs" Inherits="TeachHelper_Controls_ChangePasswordQuestionAndAnswer" %>
<table style="width: 383px">
    <tr>
        <td align="right" style="width: 85px; height: 26px">
            密码:</td>
        <td colspan="2" nowrap="nowrap" style="width: 120px; height: 26px">
            <asp:TextBox ID="TextBoxPass" runat="server" Width="237px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorPass" runat="server" ControlToValidate="TextBoxPass"
                Display="Dynamic" ErrorMessage="密码不能为空" ToolTip="密码不能为空" ValidationGroup="ChangePasswordQuestionAndAnswer">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr style="color: #000000">
        <td align="right" style="width: 85px">
            密码问题:</td>
        <td colspan="2" nowrap="nowrap" style="width: 120px">
            <asp:TextBox ID="TextBoxQuestion" runat="server" Width="239px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorQuestion" runat="server" ControlToValidate="TextBoxQuestion"
                Display="Dynamic" ErrorMessage="密码问题不能为空" ToolTip="密码问题不能为空" ValidationGroup="ChangePasswordQuestionAndAnswer">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr style="color: #000000">
        <td align="right" nowrap="nowrap" style="width: 85px">
            问题答案:</td>
        <td colspan="2" nowrap="nowrap" style="width: 120px">
            <asp:TextBox ID="TextBoxAnswer" runat="server" Width="217px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorAnswer" runat="server" ControlToValidate="TextBoxAnswer"
                Display="Dynamic" ErrorMessage="问题答案不能为空" ToolTip="问题答案不能为空" ValidationGroup="ChangePasswordQuestionAndAnswer">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td colspan="3" style="height: 26px">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            <asp:Button ID="ButtonSubmit" runat="server" OnClick="ButtonSubmit_Click" Text=" 提交 "
                ValidationGroup="ChangePasswordQuestionAndAnswer" />
            &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
            <asp:Button ID="ButtonCancel" runat="server" CausesValidation="False" OnClick="ButtonCancel_Click"
                Text=" 取消 " /></td>
    </tr>
</table>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?