📄 userlogin.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserLogin.aspx.cs" Inherits="UserLogin" %>
<%@ Register Src="Top.ascx" TagName="Top" TagPrefix="uc1" %>
<!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>
<uc1:Top ID="Top1" runat="server" />
<table>
<tr>
<td >
用户名:</td>
<td >
<asp:TextBox ID="TextBox_UserName" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td >
密码:</td>
<td >
<asp:TextBox ID="TextBox_UserPass" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 23px" >
用户类型:</td>
<td style="height: 23px" >
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" Width="74px">
<asp:ListItem Value="0">管理员</asp:ListItem>
<asp:ListItem Value="1">教师</asp:ListItem>
<asp:ListItem Value="2">学生</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="height: 26px" >
</td>
<td style="height: 26px" >
<asp:Button ID="Button_Confirm" runat="server" Text="登录" OnClick="Button_Confirm_Click" />
<asp:Button ID="Button_Cancel" runat="server" Text="放弃" OnClick="Button_Cancel_Click" /></td>
</tr>
</table>
</div>
<asp:Label ID="Label_Msg" runat="server"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -