📄 login.aspx
字号:
<%@ 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">
<script language="c#" runat="server">
public void page_load(Object obj,EventArgs e)
{
//创建服务器端控件.
//指定的标记"LINK"初始化此类的新实例.
HtmlGenericControl objLink=new HtmlGenericControl("LINK");
objLink.ID=ID;
objLink.Attributes["rel"]="stylesheet";
objLink.Attributes["type"]="text/css";
objLink.Attributes["href"]="portal.css";
//此控件不产生任何可见输出,仅作为其他控件的容器,可在其中添加,插入或移除控件.
MyCSS.Controls.Add(objLink);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>网络选修系统</title>
<asp:placeholder id="MyCSS" runat="server"></asp:placeholder>
<script language="javascript" type="text/javascript">
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="login">
<div id="img123">
<br />
<br />
<map id="Map" name="Map">
<table border="0" cellpadding="0" cellspacing="0" width="488">
<tr>
<td colspan="3" style="height: 19px">
</td>
</tr>
<tr>
<td colspan="3">
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/login_top1.jpg" /></td>
</tr>
<tr>
<td width="202">
<img height="113" src="images/Login_buttomleft.jpg" width="202" /></td>
<td id="btnyes" align="center" background="Image/Login_buttombj.jpg" style="background-image: url(images/Login_buttombj.jpg);
width: 296px" valign="middle">
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="right" height="27" valign="bottom" width="20%">
用户:</td>
<td height="27" valign="bottom" width="165">
<input id="username" class="textbox" name="TextBox1" style="width: 130px" tabindex="1" runat="server" /></td>
<td align="right" height="25" rowspan="2" valign="bottom" width="21%">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/dl2.gif" OnClick="ImageButton1_Click" /></td>
</tr>
<tr>
<td align="right" style="height: 27px" valign="bottom">
密码:</td>
<td style="height: 27px" valign="bottom" width="165">
<input id="password" class="textbox" name="TextBox2" style="width: 130px" tabindex="2"
type="password" runat="server" /></td>
<td style="height: 27px">
</td>
</tr>
</table>
<asp:RadioButtonList ID="selectroal" runat="server" Height="28px" RepeatDirection="Horizontal"
Width="189px">
<asp:ListItem Value="tea">老师</asp:ListItem>
<asp:ListItem Selected="True" Value="stu">学生</asp:ListItem>
<asp:ListItem Value="adm">管理员</asp:ListItem>
</asp:RadioButtonList></td>
<td style="width: 14px">
<img id="IMG1" runat="server" height="113" src="images/Login_buttomright.jpg" width="14" /></td>
</tr>
<tr valign="bottom">
<td align="center" colspan="3" height="65">
</td>
</tr>
</table>
<area alt="访问正方软件!" coords="1,2,89,29" href="http://www.zfsoft.com/" shape="RECT"
target="_blank" /></map></div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -