login.aspx

来自「asp.net连带c++技术开发」· ASPX 代码 · 共 57 行

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

<!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 align="center" id="DIV1">
        <table>
            <tr>
                <td colspan="3">
                </td>
            </tr>
            <tr>
                <td style="width: 137px" align="right">
                    用户ID:</td>
                <td colspan="2" style="width: 227px" align="left">
                    <asp:TextBox ID="txtID" runat="server" Width="218px">6523125</asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 137px" align="right">
                    密码:</td>
                <td colspan="2" style="height: 17px; width: 227px;" align="left" >
                    <asp:TextBox ID="txtPwd" runat="server" Width="218px">111</asp:TextBox></td>
            </tr>
            <tr>
                <td align="right" style="width: 137px">
                    类型:</td>
                <td colspan="2" style="height: 17px; width: 227px;" align="left">
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
                        RepeatLayout="Flow" AutoPostBack="True" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
                        <asp:ListItem>系部</asp:ListItem>
                        <asp:ListItem>教师</asp:ListItem>
                        <asp:ListItem>学生</asp:ListItem>
                        <asp:ListItem>管理员</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td style="width: 137px" align="right">
                    <asp:DropDownList ID="DropDownList1" runat="server" Visible="False">
                    </asp:DropDownList></td>
                <td colspan="2" id="TD1" style="width: 227px">
                    <asp:Button ID="btnLogin" runat="server" Text="登录" Width="67px" OnClick="btnLogin_Click" />
                    <asp:Button ID="btnClear" runat="server" Text="重置"  Width="67px" OnClick="btnClear_Click" /></td>
            </tr>
        </table>
        
    </div>
        &nbsp;
    </form>
</body>
</html>

⌨️ 快捷键说明

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