温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:人事管理系统(课程设计)源码
当前文件:
Mispersonal/WebFiles/Employee/Add_employee.aspx,打开代码结构图
Mispersonal/WebFiles/Employee/Add_employee.aspx,打开代码结构图1<%@ Page Language="C#" CodePage="936" AutoEventWireup="true" EnableEventValidation="false" CodeFile="Add_employee.aspx.cs" Inherits="WebFiles_Employee_Add_employee" %> 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>添加员工信息</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
16
<div style="z-index: 101; left: 236px; width: 531px; position: absolute; top: 225px; 17
height: 212px"> 18
<table cellpadding="0" cellspacing="0" align="center" style="width: 558px" id="TABLE1" runat="server"> 19
<tr> 20
<td colspan="3" style="height: 21px" bgcolor="#66c2de" align="center"> 21
添加员工信息</td> 22
</tr> 23
<tr> 24
<td style="width: 363px; height: 35px;"> 25
26
员工编号:</td> 27
<td style="width: 201px; height: 35px;"> 28
<asp:TextBox ID="tb_id" runat="server"></asp:TextBox></td> 29
<td style="width: 177px; height: 35px;"> 30
</td> 31
</tr> 32
<tr> 33
<td style="width: 363px; height: 35px;"> 34
35
员工姓名:</td> 36
<td style="width: 201px; height: 35px;"> 37
<asp:TextBox ID="tb_name" runat="server"></asp:TextBox></td> 38
<td style="width: 177px; height: 35px;"> 39
</td> 40
</tr> 41
<tr> 42
<td style="width: 363px; height: 35px;"> 43
44
员工性别:</td> 45
<td style="width: 201px; height: 35px;"> 46
<asp:DropDownList ID="sex" runat="server"> 47
<asp:ListItem>男</asp:ListItem> 48
<asp:ListItem>女</asp:ListItem> 49
</asp:DropDownList></td> 50
<td style="width: 177px; height: 35px;"> 51
</td> 52
</tr> 53
<tr> 54
<td style="width: 363px; height: 35px;"> 55
56
出生年月:</td> 57
<td style="width: 201px; height: 35px;"> 58
<asp:TextBox ID="tb_birth" runat="server"></asp:TextBox></td> 59
<td style="width: 177px;" rowspan="4" align="center"> 60
61
<asp:Image ID="Image1" runat="server" Height="108px" Width="123px" /></td> 62
</tr> 63
<tr> 64
<td style="width: 363px; height: 35px;"> 65
66
联系电话:</td> 67
<td style="width: 201px; height: 35px;"> 68
<asp:TextBox ID="tb_tel" runat="server"></asp:TextBox></td> 69
</tr> 70
<tr> 71
<td style="width: 363px; height: 35px;"> 72
73
联系地址:</td> 74
<td style="width: 201px; height: 35px;"> 75
<asp:TextBox ID="tb_address" runat="server"></asp:TextBox></td> 76
</tr> 77
<tr> 78
<td style="width: 363px; height: 35px;"> 79
员工头像:</td> 80
<td style="width: 201px; height: 35px;"> 81
<asp:DropDownList ID="picurl" runat="server"> 82
<asp:ListItem>1</asp:ListItem> 83
<asp:ListItem>2</asp:ListItem> 84
<asp:ListItem>3</asp:ListItem> 85
<asp:ListItem>4</asp:ListItem> 86
<asp:ListItem>5</asp:ListItem> 87
</asp:DropDownList></td> 88
</tr> 89
<tr> 90
<td style="width: 363px; height: 35px;"> 91
所属部门:</td> 92
<td style="width: 201px; height: 35px;"> 93
<asp:DropDownList ID="Agreer" runat="server"> 94
</asp:DropDownList></td> 95
<td style="width: 177px; height: 35px;"> 96
</td> 97
</tr> 98
<tr> 99
<td style="width: 363px; height: 60px;" align="center"> 100
个人简介:</td> 101
<td colspan="2" style="height: 60px"> 102
<asp:TextBox ID="tb_intro" runat="server" Columns="50" Rows="5" TextMode="MultiLine" ></asp:TextBox></td> 103
</tr> 104
<tr> 105
<td colspan="3" style="height: 35px"> 106
107
<asp:Button ID="add" runat="server" Text="添加" OnClick="add_Click" /> 108
109
<asp:Button ID="cancel" runat="server" Text="重置" OnClick="cancel_Click" /></td> 110
</tr> 111
</table> 112
</div> 113
<uc3:Left_Navlist ID="Left_Navlist1" runat="server" /> 114
115
</div> 116
</form> 117
</body> 118
</html> 119




