📄 index.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.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 bgcolor="inactivecaptiontext" style="text-align: center" background="../img/200662817362436940.jpg">
<form id="form1" runat="server">
<br />
<br />
<br />
<br />
<br />
<asp:Label ID="lblID" runat="server" Height="22px" Text="学号:" Width="63px" Font-Names="楷体_GB2312"></asp:Label><asp:TextBox ID="txtID" runat="server" Height="22px" Width="133px"></asp:TextBox> <span
style="color: #ff0033">*</span>
<asp:RequiredFieldValidator ID="Validator_ID" runat="server" ControlToValidate="txtId"
ErrorMessage="请输入学号!" Font-Size="Small"></asp:RequiredFieldValidator> <br />
<asp:Label ID="lblIdent" runat="server" Font-Names="楷体_GB2312" Height="22px" Text="身份:"
Width="63px"></asp:Label><asp:DropDownList
ID="drpIdent" runat="server" AutoPostBack="True" Height="100px" Width="127px" Font-Names="楷体_GB2312">
<asp:ListItem Value="Students">学生</asp:ListItem>
<asp:ListItem Value="Teachers">教师</asp:ListItem>
<asp:ListItem Value="Admins">管理员</asp:ListItem>
</asp:DropDownList> <span style="color: #ff6666"><span style="color: #ff0033">*</span>
</span> <br />
<br />
<asp:Label ID="lblPwd" runat="server" Height="22px" Text="密码:" Width="63px" Font-Names="楷体_GB2312"></asp:Label><asp:TextBox ID="txtPwd" runat="server" Height="22px" Width="133px" TextMode="Password"></asp:TextBox>
<span style="color: #ff0033">*</span>
<asp:RequiredFieldValidator ID="Validator_Pwd" runat="server" ControlToValidate="txtPwd"
ErrorMessage="请输入密码!" Font-Size="Small"></asp:RequiredFieldValidator> <br />
<asp:Label ID="lblError" runat="server" Font-Size="Small" ForeColor="Red" Width="166px"></asp:Label><br />
<asp:Button ID="btnlogin" runat="server" Height="26px" Text="登录" Width="71px" Font-Names="楷体_GB2312" OnClick="btnlogin_Click" />
<asp:Button ID="btnCancel" runat="server" Height="28px" Text="取消" Width="67px" OnClick="btnCancel_Click" /><br />
<br />
<br />
<br />
<br />
<br />
<asp:Label ID="Label3" runat="server" Height="34px" Style="text-align: left"
Text=" 本系统为南华大学的选修课选课系统,密码为学生的生日。请同学们在规定时间内完成课程的选修。每个学生最多可以选修两门课程,教师若要开设课程,则课程号为自己的工号加上从001开始的数字。如:工号为2502的教师,若要开设课程,则课程号从2502001开始。"
Width="680px" Font-Bold="False" Font-Italic="False" Font-Names="华文新魏"></asp:Label> <br />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -