<asp:Repeater ID="repeaterEmployees" runat="server" >
<HeaderTemplate>
</table>
<table class="sortable" id="tableEmployee">
<tr>
<td class="tag">
选择
</td>
<td class="tag">
所属公司
</td>
<td class="tag">
所属部门
</td>
<td class="tag">
工作状态
</td>
<td class="tag">
姓名
</td>
<td class="tag">
性别
</td>
<td class="tag">
年龄
</td>
<td class="tag">
职务
</td>
<td class="tag">
最后更新时间
</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr align="center" onmouseover="this.className='over'" onmouseout="this.className='listitem'">
<td>
<input type="checkbox" name="chkSelect" id="<%#Eval("Oid") %>" title="<%#Eval("Oid") %>" /></td>
<td>
<%# Eval(")%>
</td>
<td>
<%# Eval("Department.DepartmentName")%>
</td>
<td>
<%#GetEmployeeState(Eval("EmployeeState"),Eval("Oid"))%>
</a>
</td>
<td>
<asp:LinkButton ID="linkEmployeeName" runat="server" Enabled="<%#viewRole %>" Text='<%# Eval("Name") %>'
CommandArgument='<%# Eval("Oid") %>' CommandName="EmployeeInfomation" />
</td>
<td>
<%# Eval("Sex")%>
</td>
<td>
<%# Eval("Age")%>
</td>
<td>
<%# Eval("Position.Name")%>
</td>
<td>
<%# Server.HtmlEncode(Convert.ToString(Eval("LastUpdateTime", "{0:d}")))%>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>