<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelEmployeePage.aspx.cs" Inherits="HeartFly.UI.Admin.SelEmployeePage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<script src="js/checkAll.js" type="text/javascript"></script>
<link href="css/admin.css" rel="stylesheet" type="text/css" />
<style>
td
{
padding:3px;
font-size:13px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager>
<div align="center">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div style="width:100%" align="center">
<table style="width:100%; background:#e2e2e2;">
<tr style="width:100%;">
<td><b>招聘信息管理</b></td>
</tr>
<tr style="width:100%;">
<td style="background-color:#e9fbd2">
<div>
根据:招聘编号<input name="ID" type="text" class="txt" style="height:15px;width:100px"/>
招聘工资<select name="money" class="txt" style="height:20px;width:100px">
<option value="0">--请选择--</option>
<option value="0-500">0-500</option>
<option value="500-1000">500-1000</option>
<option value="1000-1500">1000-1500</option>
<option value="1500-2000">1500-2000</option>
<option value="2000-2500">2000-2500</option>
<option value="2500-3000">2500-3000</option>
<option value="3000-3500">3000-3500</option>
<option value="3500-4000">3500-4000</option>
<option value="4000-4500">4000-4500</option>
<option value="4500-5000">4500-5000</option>
<option value="面议">面议</option>
</select>
招聘类型<input name="type" type="text" class="txt" style="height:15px;width:100px"/>
有效性<select name="validity" class="txt" style="height:20px;width:100px">
<option value="2">--请选择--</option>
<option value="1">有效</option>
<option value="0">无效</option>
<option value="3">全部</option>
</select>
<asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl="~/Admin/images/17.gif" onclick="ImageButton1_Click " style="padding-top:3px;padding-bottom:3px ;height:20px"/>
</div>
</td>
</tr>
</table>
</div>
<div style="width:100%">
<asp:GridView ID="gvUserInfo" runat="server" AutoGenerateColumns="False"
Width="100%" BackColor="#fdffff" BorderColor="#CCCCFF" BorderStyle="Solid"
BorderWidth="1px" CellPadding="0" ForeColor="Black"
onrowdatabound="gvUserInfo_RowDataBound"
onrowcommand="gvUserInfo_RowCommand"
onrowdeleting="gvUserInfo_RowDeleting" onrowupdating="gvUserInfo_RowUpdating" >
<RowStyle Height="5px" />
<Columns>
<asp:BoundField DataField="employeeID" HeaderText="招聘编号"
ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemStyle Width="60px"></ItemStyle>
</asp:BoundField>
<asp:BoundField DataField="employeeType" HeaderText="招聘类型"
ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemStyle Width="100px"></ItemStyle>
</asp:BoundField>
<asp:BoundField DataField="employeeMoney" HeaderText="招聘工资"
ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemStyle Width="80px"></ItemStyle>
</asp:BoundField>
<asp:BoundField DataField="employeeBeginTime" HeaderText="发布时间"
ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemStyle Width="100px"></ItemStyle>
</asp:BoundField>
<asp:BoundField DataField="employeeEndTime" HeaderText="截止时间"
ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemStyle Width="100px"></ItemStyle>
</asp:BoundField>
<asp:BoundField DataField="employeeTelephone" HeaderText="联系电话"
ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemStyle Width="80px"></ItemStyle>
</asp:BoundField>
<asp:TemplateField HeaderText="有效性" ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px">
<ItemTemplate>
<%#Convert.ToInt32(Eval("employeeValidity")) == 1 ? "有效" : "无效"%>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="left" ItemStyle-Font-Size="13px">
<ItemTemplate >
<asp:LinkButton ID="linbtnAuditing" runat="server" CommandArgument='<%#Eval("employeeID") +"," + isAmend %>' CommandName="selemp" >查看详情</asp:LinkButton>
<asp:LinkButton ID="linbtnUpdate" runat="server" CommandArgument='<%#Eval("employeeID") +"," + isAmend %>' CommandName="update" Visible='<%#isUpdate %>' >修改</asp:LinkButton>
<asp:LinkButton ID="linbtnDelete" runat="server" CommandArgument='<%#Eval("employeeID") %>' CommandName="delete" Visible='<%#isDelete %>'>删除</asp:LinkButton>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="选" ItemStyle-HorizontalAlign="Center" ItemStyle-Font-Size="13px" >
<HeaderTemplate>
<input id="checkAll" name="checkAll" type="checkbox" onclick="CKAll()" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="ck" runat="server" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
</Columns>
<HeaderStyle BackColor="#E9FBD2" BorderWidth="1px" Font-Names="宋体"
Font-Size="14px" BorderColor="#CCCCFF" />
</asp:GridView>
</div>
<div>
<table width="100%">
<tr>
<td style="width:20%" align="left">当前第<%= NowPage+1%>页 共<%= AllPage%>页</td>
<td style="width:60%" align="center">
<asp:Button ID="btnFristPage" runat="server" Text="首页" CssClass="buttoncss"
onclick="btnFristPage_Click" />
<asp:Button ID="btnUpPage" runat="server" Text="上一页" CssClass="buttoncss"
onclick="btnUpPage_Click" />
<asp:Button ID="btnDownPage" runat="server" Text="下一页" CssClass="buttoncss"
onclick="btnDownPage_Click" />
<asp:Button ID="btnLastPage" runat="server" Text="尾页" CssClass="buttoncss"
onclick="btnLastPage_Click"/>
<%--<asp:Button ID="btnDelectCheck" runat="server" Text="删除选中项" CssClass="buttoncss" onclick="btnDelectCheck_Click" />--%>
<asp:Button ID="btnDelectCheck" runat="server" Text="删除选中项" CssClass="buttoncss" onclick="btnDelectCheck_Click"/>
<input id="btnReset" type="reset" value="取消选中项" class="buttoncss"/>
</td>
</tr>
</table>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>