unpassword.aspx

来自「这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代」· ASPX 代码 · 共 43 行

ASPX
43
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="unPassWord.aspx.cs" Inherits="unPassWord" %>

<!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>
        <div style="width: 343px; height: 100px">
            <table style="width: 323px; height=100;" border="1">
                <tr>
                    <td colspan="3" align="left" style="height: 14px">
                        <asp:Label ID="Label1" runat="server" Font-Size="9pt" ForeColor="Red" Text="请输入密" Width="386px"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 59px">
                        <asp:Label ID="Label2" runat="server" Font-Size="9pt" Text="问题答案:" Width="85px"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                    <td style="width: 69px">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="账号不能为空"
                            Font-Size="9pt" ControlToValidate="TextBox1" Width="130px"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 59px; height: 26px">
                    </td>
                    <td style="height: 26px">
                        &nbsp;<asp:Button ID="Button1" runat="server" Font-Size="9pt" Text="上一步" CausesValidation="False" OnClick="Button1_Click" />
                        <asp:Button ID="Button2" runat="server" Font-Size="9pt" Text="下一步" OnClick="Button2_Click" /></td>
                    <td style="height: 26px; width: 69px;">
                    </td>
                </tr>
            </table>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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