温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:人事管理系统(课程设计)源码
当前文件:
Mispersonal/Default.aspx,打开代码结构图
Mispersonal/Default.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3
<html xmlns="http://www.w3.org/1999/xhtml" > 4
<head runat="server"> 5
<title>用户登陆|- 51aspx.com</title> 6
<link rel=Stylesheet type="text/css" href="CSS/Mispersonal.css" /> 7
</head> 8
<body> 9
<form id="form1" runat="server"> 10
<div> 11
12
<div style="z-index: 101; left: 311px; width: 361px; position: absolute; top: 206px; 13
height: 100px"> 14
<table cellpadding="0" cellspacing="0" style="height: 159px"> 15
<tr> 16
<td bgcolor="#66c2de" colspan="5" style="height: 24px"> 17
</td> 18
</tr> 19
<tr> 20
<td align="center" style="width: 41px; height: 35px"> 21
<asp:Image ID="Image1" runat="server" ImageUrl="~/WebFiles/Images/role.gif" /></td> 22
<td colspan="3" style="width: 155px; height: 35px"> 23
用户角色: </td> 24
<td style="width: 250px; height: 35px"> 25
<asp:RadioButton ID="rb_user" runat="server" GroupName="role" Text="普通用户" Checked="True" /> 26
<asp:RadioButton ID="rb_admin" runat="server" GroupName="role" Text="管理员" /></td> 27
</tr> 28
<tr> 29
<td align="center" style="width: 41px; height: 35px"> 30
<asp:Image ID="Image2" runat="server" ImageUrl="~/WebFiles/Images/user.gif" /></td> 31
<td colspan="3" style="width: 155px; height: 35px"> 32
用户名称:</td> 33
<td style="width: 250px; height: 35px"> 34
<asp:TextBox ID="TxtUser" runat="server"></asp:TextBox></td> 35
</tr> 36
<tr> 37
<td align="center" style="width: 41px; height: 35px"> 38
<asp:Image ID="Image3" runat="server" ImageUrl="~/WebFiles/Images/password.gif" /></td> 39
<td colspan="3" style="width: 155px; height: 35px"> 40
用户密码:</td> 41
<td style="width: 250px; height: 35px"> 42
<asp:TextBox ID="TxtPwd" runat="server" TextMode="Password"></asp:TextBox></td> 43
</tr> 44
<tr> 45
<td align="center" colspan="5" style="height: 30px"> 46
<asp:Button ID="Btn_Login" runat="server" Text="登陆" OnClick="Btn_Login_Click" /> 47
<asp:Button ID="Btn_Cancel" runat="server" Text="重置" OnClick="Btn_Cancel_Click" /></td> 48
</tr> 49
<tr> 50
<td colspan="5" style="height: 21px" align="center"> 51
<asp:Label ID="lbMessage" runat="server" Height="27px" Width="358px" ForeColor="Red"></asp:Label></td> 52
</tr> 53
<tr> 54
<td bgcolor="#66c2de" colspan="5" style="height: 5px"> 55
</td> 56
</tr> 57
</table> 58
</div> 59
60
<div style="z-index: 102; left: 670px; width: 100px; position: absolute; top: 106px; 61
height: 100px"> 62
<asp:Image ID="Image4" runat="server" ImageUrl="~/WebFiles/Images/login.gif" /></div> 63
</div> 64
</form> 65
</body> 66
</html> 67




