温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:人事管理系统(课程设计)源码
当前文件:
Mispersonal/WebFiles/User/DisplayUser.aspx,打开代码结构图
Mispersonal/WebFiles/User/DisplayUser.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DisplayUser.aspx.cs" Inherits="WebFiles_User_User_view" %> 2
<%@ Register Src="../../UserControl/Left_Navlist.ascx" TagName="Left_Navlist" TagPrefix="uc3" %> 3
<%@ Register Src="../../UserControl/Header.ascx" TagName="Header" TagPrefix="uc1" %> 4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5
6
<html xmlns="http://www.w3.org/1999/xhtml" > 7
<head runat="server"> 8
<title><%=(string)Session["userName"]+"的个人详细资料" %></title> 9
<link rel="Stylesheet" type="text/css" href="../../CSS/Mispersonal.css" /> 10
</head> 11
<body> 12
<form id="form1" runat="server"> 13
<div> 14
<uc1:Header ID="Header1" runat="server" /> 15
16
</div> 17
<br /> 18
19
<div style="z-index: 101; left: 285px; width: 304px; position: absolute; top: 228px; 20
height: 246px"> 21
<table align="center" cellpadding="0" cellspacing="0"> 22
<tr> 23
<td align="center" bgcolor="#66c2de" colspan="5" style="height: 24px"> 24
用户详细资料</td> 25
</tr> 26
<tr> 27
<td align="center" style="width: 145px; height: 33px"> 28
用户编号:</td> 29
<td colspan="3" style="height: 33px; width: 243px;"> 30
<asp:TextBox ID="TxtUserID" runat="server" ReadOnly="True"></asp:TextBox></td> 31
<td style="width: 100px; height: 33px"> 32
</td> 33
</tr> 34
<tr> 35
<td align="center" style="width: 145px; height: 33px"> 36
用户名称:</td> 37
<td colspan="3" style="height: 33px; width: 243px;"> 38
<asp:TextBox ID="TxtUser" runat="server"></asp:TextBox></td> 39
<td style="width: 100px; height: 33px"> 40
</td> 41
</tr> 42
<tr> 43
<td align="center" style="width: 145px; height: 32px"> 44
用户密码:</td> 45
<td colspan="3" style="height: 32px; width: 243px;"> 46
<asp:TextBox ID="TxtPass" runat="server" TextMode="Password"></asp:TextBox></td> 47
<td style="width: 100px; height: 32px"> 48
</td> 49
</tr> 50
<tr> 51
<td align="center" style="width: 145px; height: 29px"> 52
确认密码:</td> 53
<td colspan="3" style="height: 29px; width: 243px;"> 54
<asp:TextBox ID="TxtPass1" runat="server" TextMode="Password"></asp:TextBox></td> 55
<td style="width: 100px; height: 29px"> 56
</td> 57
</tr> 58
<tr> 59
<td align="center" style="width: 145px; height: 31px"> 60
用户角色:</td> 61
<td colspan="3" style="height: 31px; width: 243px;"> 62
<asp:DropDownList ID="role" runat="server"> 63
<asp:ListItem Selected="True">普通用户</asp:ListItem> 64
<asp:ListItem>管理员</asp:ListItem> 65
</asp:DropDownList></td> 66
<td style="width: 100px; height: 31px"> 67
</td> 68
</tr> 69
<tr> 70
<td align="center" style="height: 29px" colspan="5"> 71
<asp:Label ID="lbMessage" runat="server" ForeColor="Red" Width="396px"></asp:Label></td> 72
</tr> 73
<tr> 74
<td style="width: 145px; height: 35px"> 75
<asp:Button ID="Edit" runat="server" OnClick="Edit_Click" Text="修改" /></td> 76
<td colspan="3" style="height: 35px; width: 243px;"> 77
<asp:Button ID="Delete" runat="server" 78
OnClick="Delete_Click" Text="删除" /></td> 79
<td style="width: 100px; height: 35px"> 80
</td> 81
</tr> 82
</table> 83
</div> 84
<uc3:Left_Navlist ID="Left_Navlist1" runat="server" /> 85
</form> 86
</body> 87
</html> 88




