📄 employeelist.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="Employee_EmployeeList, App_Web_tsdxalzt" %>
<html>
<head runat="server">
<title>无标题页</title>
<link rel="stylesheet" href="../css/master.css" type="text/css" />
</head>
<body topmargin="0" leftmargin="0" bgcolor="buttonface">
<form id="form1" runat="server">
<span id=span3 style="z-index:4;position:absolute;left:0;top:0;border-top:1px inset;border-left:1px inset;border-bottom:none;border-right:1px inset;overflow-y:hidden;overflow-x:hidden;padding-right:0">
</span>
<div id="span1" style="overflow-x:auto;width:1000; overflow-y:auto;height:300; background-Color:#ffffff;"onscroll="vbs:HScroll">
<table border=0 cellspacing=0 cellpadding=0 id=tb1 STYLE="table-layout: fixed; background-Color:#ffffff">
<tr bgColor=buttonface>
<td class="td1" style="width:40">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>员工编号</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>员工姓名</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:30">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>性别</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>出生年月</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:30">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>婚姻状况</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>籍贯</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>身份证</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>家庭住址</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>当前住址</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>联系电话</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>移动电话</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:100">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>电子邮件</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:40">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>学历</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>毕业院校</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>雇佣日期</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>解雇日期</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>部门</td>
<td noWrap class=td2 style="height:19;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
</tr>
<asp:Repeater ID="rptEmployee" runat="server">
<ItemTemplate>
<tr style="height:22; white-space:nowrap;background-Color:#ffffff" onmouseover="vbs:RowMouseOver me" onmouseout="vbs:RowMouseOut me">
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "EmpNo") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "EmpName")%></td>
<td class="td1"><%# GetSex(int.Parse(DataBinder.Eval(Container.DataItem,"Sex").ToString())) %></td>
<td class="td1"><%# DateTime.Parse(DataBinder.Eval(Container.DataItem, "BirthDay").ToString()).ToShortDateString() %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "MarriageStatus") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Nativeplace") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "IDCard") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "HomeAddr") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "CurrentAddr") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Phone") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "MobilePhone") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Email") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Education") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "College") %></td>
<td class="td1"><%# DateTime.Parse(DataBinder.Eval(Container.DataItem, "HireDate").ToString()).ToShortDateString() %></td>
<td class="td1"><%# DateTime.Parse(DataBinder.Eval(Container.DataItem, "DimissionDate").ToString()).ToShortDateString() %></td>
<td class="td1"><%# GetDept(DataBinder.Eval(Container.DataItem, "Dept").ToString()) %></td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr style="height:22; white-space:nowrap;background-Color:#f6f6f6" onmouseover="vbs:RowMouseOver me" onmouseout="vbs:RowMouseOut me">
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "EmpNo") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "EmpName")%></td>
<td class="td1"><%# GetSex(int.Parse(DataBinder.Eval(Container.DataItem,"Sex").ToString())) %></td>
<td class="td1"><%# DateTime.Parse(DataBinder.Eval(Container.DataItem, "BirthDay").ToString()).ToShortDateString() %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "MarriageStatus") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Nativeplace") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "IDCard") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "HomeAddr") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "CurrentAddr") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Phone") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "MobilePhone") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Email") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Education") %></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "College") %></td>
<td class="td1"><%# DateTime.Parse(DataBinder.Eval(Container.DataItem, "HireDate").ToString()).ToShortDateString() %></td>
<td class="td1"><%# DateTime.Parse(DataBinder.Eval(Container.DataItem, "DimissionDate").ToString()).ToShortDateString() %></td>
<td class="td1"><%# GetDept(DataBinder.Eval(Container.DataItem, "Dept").ToString()) %></td>
</tr>
</AlternatingItemTemplate>
</asp:Repeater>
</table>
</div>
<span id=span2 style="border-right:#229900 1px solid;border-left:#cc0000 1px solid;display:none;z-index:10;left:0px;width:0px;position:absolute;top:0px;height:0" onmousemove="vbs:M_Move" onmouseup="vbs:m_up"></span>
<!--==============================下半部分===============================-->
</form>
</body>
</html>
<script language=vbscript src="../script/vbscript.vbs"></script>
<script language=vbscript>
titleResize
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -