?? listuser.aspx
字號:
?<%@ Page Language="C#" MasterPageFile="~/Admin/Default.Master" AutoEventWireup="true"
CodeBehind="ListUser.aspx.cs" Inherits="Agile.OA.Web.Admin.ListUser" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
$(
function()
{
$("#Users").agileTable(
{
target: "<%= this.Ids.ClientID %>"
});
$("#Users").tableHover(
{
rowClass: "Hover"
});
});
</script>
<table class="Container">
<tr>
<td class="Top">
<input id="Add" type="button" class="Button" value="增 加" onclick="location.href='EditUser.aspx'" />
<asp:Button ID="Delete" runat="server" Text="刪 除" OnClientClick="return validateDelete('用戶');"
OnClick="Delete_Click" />
</td>
</tr>
<tr>
<td>
<asp:ListView ID="Users" runat="server" ItemPlaceholderID="ItemContainer">
<LayoutTemplate>
<table id="Users" class="List">
<thead>
<tr>
<th class="Choose">
<input id="Header" type="checkbox" />
</th>
<th>
名 稱
</th>
<th>
昵 稱
</th>
<th>
描 述
</th>
<th>
密 碼
</th>
<th>
性 別
</th>
<th>
電子郵件
</th>
<th>
職 務
</th>
<th>
部 門
</th>
</tr>
</thead>
<tbody id="ItemContainer" runat="server">
</tbody>
</table>
</LayoutTemplate>
<ItemTemplate>
<tr>
<td>
<input id="Item" type="checkbox" title="<%# Eval("Id") %>" />
</td>
<td>
<a href="EditUser.aspx?Id=<%# Eval("Id") %>">
<%# Eval("Name") %></a>
</td>
<td>
<%# Eval("Nickname") %>
</td>
<td>
<%# Eval("Description") %>
</td>
<td>
<%# Eval("Password") %>
</td>
<td>
<%# Eval("Sex") %>
</td>
<td>
<%# Eval("Email") %>
</td>
<td>
<%# Eval("Duty") %>
</td>
<td>
<%# Eval("Department.Name") %>
</td>
</tr>
</ItemTemplate>
<EmptyDataTemplate>
<table id="Users" class="List">
<thead>
<tr>
<th class="Choose">
</th>
<th>
名 稱
</th>
<th>
昵 稱
</th>
<th>
描 述
</th>
<th>
密 碼
</th>
<th>
性 別
</th>
<th>
電子郵件
</th>
<th>
職 務
</th>
<th>
部 門
</th>
</tr>
</thead>
</table>
</EmptyDataTemplate>
</asp:ListView>
<asp:HiddenField ID="Ids" runat="server" />
</td>
</tr>
<tr>
<td>
<agile:Pager ID="Pager" runat="server" OnPageIndexChanged="Pager_PageIndexChanged" />
</td>
</tr>
</table>
</asp:Content>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -