温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:人事管理系统(课程设计)源码
当前文件:
Mispersonal/WebFiles/Employee/Search_employee.aspx,打开代码结构图
Mispersonal/WebFiles/Employee/Search_employee.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Search_employee.aspx.cs" Inherits="WebFiles_Employee_Search_employee" %> 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>员工查询</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
<div style="z-index: 101; left: 202px; width: 788px; position: absolute; top: 226px; 19
height: 149px"> 20
<table align=center cellpadding=0 cellspacing=0 style="width: 786px; height: 110px"> 21
<tr> 22
<td colspan="4" bgcolor="#66c2de" style="height: 22px" align=center> 23
员工信息搜索</td> 24
</tr> 25
<tr> 26
<td style="width: 174px; height: 20px;" align=center> 27
选择搜索字段名:</td> 28
<td style="width: 58px; height: 20px;" align=center> 29
<asp:DropDownList ID="role" runat="server"> 30
<asp:ListItem>员工编号</asp:ListItem> 31
<asp:ListItem>员工姓名</asp:ListItem> 32
</asp:DropDownList></td> 33
<td style="width: 58px; height: 20px;" align=center> 34
<asp:TextBox ID="TxtContent" runat="server"></asp:TextBox></td> 35
<td style="width: 100px; height: 20px;" align=center> 36
<asp:Button ID="btn_search" runat="server" Text="搜索" OnClick="btn_search_Click" /></td> 37
</tr> 38
<tr> 39
<td colspan="4" style="height: 20px" align=center> 40
<br /> 41
<asp:GridView ID="List_employee" runat="server" Height="28px" Width="768px" CellPadding="4" ForeColor="#333333" GridLines="None"> 42
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 43
<RowStyle BackColor="#EFF3FB" /> 44
<EditRowStyle BackColor="#2461BF" /> 45
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 46
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 47
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 48
<AlternatingRowStyle BackColor="White" /> 49
</asp:GridView> 50
</td> 51
</tr> 52
</table> 53
</div> 54
<uc3:Left_Navlist ID="Left_Navlist1" runat="server" /> 55
</form> 56
</body> 57
</html> 58




