authority_list.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:3k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="authority_list.aspx.cs" Inherits="web_system_authority_list" %>
- <!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>
- <link href="../../css/style.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <center>
- </center>
- <center>
- <asp:Label ID="LblTitle" runat="server" Font-Bold="True" Font-Size="Medium" Style="position: relative"
- Text="權限群組列表"></asp:Label> </center>
- <br />
- <center>
- <asp:GridView ID="GroupList" runat="server" BackColor="White" BorderColor="#999999"
- BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Style="position: relative" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" PageSize="18" Width="547px" OnRowCreated="GroupList_RowCreated" OnRowDataBound="GroupList_RowDataBound" OnRowCommand="GroupList_RowCommand">
- <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
- <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
- <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
- <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
- <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
- <AlternatingRowStyle BackColor="Gainsboro" />
- <Columns>
- <asp:TemplateField HeaderText="權限群組名稱">
- <ItemTemplate>
- <asp:LinkButton ID="BtnName" runat="server" Style="position: relative"></asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:TemplateField HeaderText="員工數">
- <ItemTemplate>
- <asp:LinkButton ID="BtnEmpCount" runat="server" Style="position: relative"></asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="cre_date" HeaderText="創建日期" SortExpression="cre_date" />
- <asp:TemplateField>
- <ItemTemplate>
- <asp:LinkButton ID="BtnDelete" CommandName="DeleteData" runat="server" Style="position: relative" OnClientClick='return confirm("確定要刪除嗎?")'>刪除</asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- <br />
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
- SelectCommand="select id, name, cre_date from OA_USER_GROUP_MAIN order by name">
- </asp:SqlDataSource>
- </center>
- </div>
- </form>
- </body>
- </html>