studentlogin.aspx

来自「C#+ACCESS在线选课系统的设计与实现」· ASPX 代码 · 共 54 行

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

<!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 style="background-image: url(../image/BKGRD9.jpg)">
    <form id="form1" runat="server">
    <div>
      <table border="0" cellpadding="0" cellspacing="0" style="border-right: #66ccff 0.1mm solid; border-top: #66ccff 0.1mm solid; margin-top: 20px; margin-left: 300px; border-left: #66ccff 0.1mm solid; margin-right: 200px; border-bottom: #66ccff 0.1mm solid; width: 299px;">
            <tr>
                <td colspan="3" style="height: 18px; border-bottom: #66ccff 0.1mm solid;" align="center">
                    学生登录</td>
            </tr>
            <tr>
                <td style="width: 51px; height: 26px;">
                    姓名:</td>
                <td style="width: 148px; height: 26px;">
                    <asp:TextBox ID="TextBox1" runat="server" Width="149px"></asp:TextBox></td>
                <td style="width: 81px; height: 26px;">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        Display="Dynamic" ErrorMessage="姓名空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 51px; height: 19px;">
                    密码:</td>
                <td style="width: 148px; height: 19px;">
                    <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Width="150px"></asp:TextBox></td>
                <td style="width: 81px; height: 19px;">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                        Display="Dynamic" ErrorMessage="密码空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 51px">
                    确认:</td>
                <td style="width: 148px">
                    <asp:TextBox ID="TextBox3" runat="server" TextMode="Password" Width="150px"></asp:TextBox></td>
                <td style="width: 81px">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
                        ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="密码不一致"></asp:CompareValidator></td>
            </tr>
            <tr>
                <td style="height: 13px;" align="center" colspan="3" valign="middle">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/image/Login.jpg" Width="57px" OnClick="ImageButton1_Click" Height="30px" /><a href="StudentReg.aspx">注册</a></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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