温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:人事管理系统(课程设计)源码
当前文件:
Mispersonal/WebFiles/Employee/DisplayEmployee.aspx,打开代码结构图
Mispersonal/WebFiles/Employee/DisplayEmployee.aspx,打开代码结构图1<%@ Page Language="C#" CodePage="936" AutoEventWireup="true" EnableEventValidation="false" CodeFile="DisplayEmployee.aspx.cs" Inherits="WebFiles_Employee_DisplayEmployee" %> 2
<%@ Register Src="../../UserControl/Left_Navlist.ascx" TagName="Left_Navlist" TagPrefix="uc3" %> 3
<%@ Register Src="../../UserControl/Header.ascx" TagName="Header" TagPrefix="uc1" %> 4
<html xmlns="http://www.w3.org/1999/xhtml" > 5
<head runat="server"> 6
<title><%=(string)Session["E_Name"]+"的个人详细资料" %></title> 7
<link rel="Stylesheet" type="text/css" href="../../CSS/Mispersonal.css" /> 8
<script language="JavaScript" src="../../Js/Calendar30.js"></script> 9
</head> 10
<body> 11
<form id="form1" runat="server"> 12
<div> 13
<uc1:Header ID="Header1" runat="server" /> 14
15
</div> 16
<br /> 17
18
<div style="z-index: 101; left: 227px; width: 1px; position: absolute; top: 225px; 19
height: 157px"> 20
<table align="center" cellpadding="0" cellspacing="0" style="width: 554px"> 21
<tr> 22
<td align="center" bgcolor="#66c2de" colspan="3" style="height: 26px"> 23
员工详细信息</td> 24
</tr> 25
<tr> 26
<td style="width: 257px; height: 35px"> 27
员工编号:</td> 28
<td style="width: 5px; height: 35px"> 29
<asp:TextBox ID="TxtID" runat="server" ReadOnly="True"></asp:TextBox></td> 30
<td style="width: 85px; height: 35px"> 31
</td> 32
</tr> 33
<tr> 34
<td style="width: 257px; height: 35px"> 35
员工姓名:</td> 36
<td style="width: 5px; height: 35px"> 37
<asp:TextBox ID="TxtName" runat="server"></asp:TextBox></td> 38
<td style="width: 85px; height: 35px"> 39
</td> 40
</tr> 41
<tr> 42
<td style="width: 257px; height: 35px"> 43
员工性别:</td> 44
<td style="width: 5px; height: 35px"> 45
<asp:DropDownList ID="Sex" runat="server"> 46
<asp:ListItem Selected="True">男</asp:ListItem> 47
<asp:ListItem>女</asp:ListItem> 48
</asp:DropDownList></td> 49
<td style="width: 85px; height: 35px"> 50
</td> 51
</tr> 52
<tr> 53
<td style="width: 257px; height: 35px"> 54
出生年月:</td> 55
<td style="width: 5px; height: 35px"> 56
<asp:TextBox ID="TxtBirth" runat="server"></asp:TextBox></td> 57
<td rowspan="4" style="width: 85px" > 58
<asp:Image ID="Pic" runat="server" Width="100px" Height="92px" /></td> 59
</tr> 60
<tr> 61
<td style="width: 257px; height: 35px"> 62
联系电话:</td> 63
<td style="width: 5px; height: 35px"> 64
<asp:TextBox ID="TxtTel" runat="server"></asp:TextBox></td> 65
</tr> 66
<tr> 67
<td style="width: 257px; height: 35px"> 68
联系地址:</td> 69
<td style="width: 5px; height: 35px"> 70
<asp:TextBox ID="TxtAddress" runat="server"></asp:TextBox></td> 71
</tr> 72
<tr> 73
<td style="width: 257px; height: 35px"> 74
员工头像:</td> 75
<td style="width: 5px; height: 35px"> 76
<asp:DropDownList ID="picurl" runat="server"> 77
<asp:ListItem>1</asp:ListItem> 78
<asp:ListItem>2</asp:ListItem> 79
<asp:ListItem>3</asp:ListItem> 80
<asp:ListItem>4</asp:ListItem> 81
<asp:ListItem>5</asp:ListItem> 82
</asp:DropDownList></td> 83
</tr> 84
<tr> 85
<td style="width: 257px; height: 35px"> 86
所属部门:</td> 87
<td style="width: 5px; height: 35px"> 88
<asp:DropDownList ID="Agreer" runat="server"> 89
</asp:DropDownList></td> 90
<td style="width: 85px; height: 35px"> 91
</td> 92
</tr> 93
<tr> 94
<td style="width: 257px"> 95
个人简介:</td> 96
<td colspan="2" style="height: 35px"> 97
<asp:TextBox ID="TxtIntro" runat="server" Columns="50" Rows="5" TextMode="MultiLine"></asp:TextBox></td> 98
</tr> 99
<tr> 100
<td colspan="3" style="height: 26px" align="center"> 101
<asp:Label ID="lbMessage" runat="server" ForeColor="Red" Height="23px" Width="548px"></asp:Label></td> 102
</tr> 103
<tr> 104
<td colspan="3" style="height: 35px"> 105
<asp:Button ID="btn_edit" runat="server" OnClick="btn_edit_Click" Text="更新" /> 106
107
<asp:Button ID="btn_delete" runat="server" Text="删除" OnClick="btn_delete_Click" /></td> 108
</tr> 109
</table> 110
</div> 111
<uc3:Left_Navlist ID="Left_Navlist1" runat="server" /> 112
</form> 113
</body> 114
</html> 115




