📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.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>
<div style="text-align: center">
<br />
<table style="background-image: url(igm/总登录页面.jpg); width: 800px; height: 533px">
<tr>
<td colspan="3" rowspan="3" style="width: 796px" valign="top">
<table>
<tr>
<td align="right" style="width: 443px; height: 241px">
</td>
<td style="width: 121px; height: 241px">
</td>
<td align="left" style="width: 114px; height: 241px">
</td>
</tr>
<tr>
<td align="right" style="width: 443px; height: 26px;">
<asp:Label ID="labUserName" runat="server" Font-Size="9pt" Text="用户名"></asp:Label></td>
<td style="width: 121px; height: 26px;">
<asp:TextBox ID="txtUserName" runat="server" Width="120px"></asp:TextBox></td>
<td align="left" style="width: 114px; height: 26px;">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd"
Display="Dynamic" ErrorMessage="请输入密码!"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
Display="Dynamic" ErrorMessage="请输入用户名!"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="width: 443px; height: 37px">
<asp:Label ID="labPwd" runat="server" Font-Size="9pt" Text="密码"></asp:Label></td>
<td style="width: 121px; height: 37px">
<asp:TextBox ID="txtPwd" runat="server" TextMode="Password" Width="120px"></asp:TextBox></td>
<td align="left" style="width: 114px; height: 37px">
</td>
</tr>
<tr>
<td align="right" style="width: 443px; height: 19px">
<asp:Label ID="Label4" runat="server" Font-Size="9pt" Text="验证码"></asp:Label></td>
<td style="width: 121px; height: 19px; text-align: left;">
<asp:TextBox ID="txtValidate" runat="server" Width="54px"></asp:TextBox><br />
<a href="#" onclick="document.getElementById('imgVerify').src='checkcode.aspx?temp='+ (new Date().getTime().toString(36)); return false" style="font-size: 12px">
重新获得验证码</a><br />
<img id="imgVerify" src="checkcode.aspx" alt="看不清?点击更换" onclick="this.src=this.src+'?'" style="width: 92px; height: 29px;" />
</td>
<td align="left" style="width: 114px; height: 19px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtValidate"
Display="Dynamic" ErrorMessage="请输入验证码!"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="width: 443px">
<asp:CheckBoxList ID="cblAdminLog" runat="server" Font-Size="8pt">
<asp:ListItem>管理员登录</asp:ListItem>
</asp:CheckBoxList></td>
<td style="width: 121px">
<asp:Button ID="btnLogin" runat="server" Font-Size="9pt" Text="登录" OnClick="Button1_Click" />
<asp:Button ID="btnZhunce" runat="server" CausesValidation="False" Font-Size="9pt"
OnClick="Button2_Click" Text="注册" />
<asp:Button ID="btnPwd" runat="server" CausesValidation="False" Font-Size="9pt"
OnClick="Button3_Click" Text="忘密" /></td>
<td rowspan="1" style="width: 114px">
</td>
</tr>
</table>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" Font-Size="8pt" Height="37px"
ShowMessageBox="True" ShowSummary="False" Width="112px" />
</td>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -