121 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			121 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
|  | <%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" CodeFile="RoleAuth.aspx.cs" Inherits="RoleAuth" %> | |||
|  | 
 | |||
|  | <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> | |||
|  |   | |||
|  | <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> | |||
|  | <table width="100%" class="Table_NoBorder"> | |||
|  |       | |||
|  |     <tr><td> | |||
|  |      <table width="100%" class="Table_NoBorder" border="1"> | |||
|  |      <tr class="HeaderStyle"> | |||
|  |      <td style="width: 120px"><asp:Label ID="lbrole" runat="server" Font-Bold="True" Text="<22><>ɫ<EFBFBD>б<EFBFBD>"  /> </td> | |||
|  |      <td style="width: 180px"> <asp:Label ID="lbAuth" runat="server" Font-Bold="True" Text="Ȩ<><C8A8><EFBFBD>б<EFBFBD>"  /></td> | |||
|  |      <td style="width: 200px" nowrap> | |||
|  |          <asp:Label ID="lbAuthRole" runat="server" Font-Bold="True" Text="<22><>ɫ<EFBFBD>嵥"  /></td> | |||
|  |       <td valign ="top" style="width: 200px" nowrap> | |||
|  |            <asp:Label ID="lbRoleEm" runat="server" Font-Bold="True" Text="<22><>Ա<EFBFBD>嵥"  /></td>  | |||
|  |       <td style="width: 200px" nowrap><asp:Label ID="lbAuthEm" runat="server" Font-Bold="True" Text="<22><>Ա<EFBFBD>嵥"  /></td>  | |||
|  |       | |||
|  |      </tr> | |||
|  |      <tr> | |||
|  |      <td valign ="top" > | |||
|  |        <asp:ListBox id="listRoles" runat="server" width="120px" Height="360px" OnSelectedIndexChanged="listRoles_SelectedIndexChanged"  AutoPostBack="True"> | |||
|  |          </asp:ListBox></td> | |||
|  |       <td valign ="top"> | |||
|  |        | |||
|  |       | |||
|  |      <asp:TreeView ID="treeAuth" runat="server" ShowLines="True"   ImageSet="Arrows" OnSelectedNodeChanged="treeAuth_SelectedNodeChanged" ShowCheckBoxes="All"  > | |||
|  |             <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" /> | |||
|  |             <Nodes> | |||
|  | <asp:TreeNode Text="" Selected="True" Value="0" Expanded="True"></asp:TreeNode> | |||
|  | </Nodes> | |||
|  |         </asp:TreeView> | |||
|  |       | |||
|  |      </td> | |||
|  |       <td valign ="top"> | |||
|  |            | |||
|  |           <asp:gridview id="GvRole" runat="server" AllowPaging="True" AutoGenerateColumns="False" | |||
|  |               CssClass="DataGrid"  emptydatatext="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"   | |||
|  |               ShowFooter="True" | |||
|  |               Width="100%"> | |||
|  |               <columns> | |||
|  |                 <20><> | |||
|  |                 <asp:BoundField DataField="ROLE_NAME" SortExpression="ROLE_NAME" HeaderText="<22><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  |                 <asp:BoundField DataField="ROLE_DESC" SortExpression="ROLE_DESC" HeaderText="<22><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  |             | |||
|  |                 </columns> | |||
|  |               <rowstyle cssclass="ItemStyle" horizontalalign="Center" />  | |||
|  |               <headerstyle cssclass="HeaderStyle" horizontalalign="Center" /> | |||
|  |               <alternatingrowstyle cssclass="AlternatingItemStyle" /> | |||
|  |           </asp:gridview> | |||
|  |          | |||
|  |          | |||
|  |           | |||
|  |       | |||
|  |      </td> | |||
|  |        <td valign ="top"> | |||
|  |             | |||
|  |            <asp:gridview id="GvEm" runat="server" AllowPaging="True" AutoGenerateColumns="False" | |||
|  |               CssClass="DataGrid"  emptydatatext="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"   | |||
|  |               ShowFooter="True" | |||
|  |               Width="100%"> | |||
|  |                <columns> | |||
|  |                 <20><> | |||
|  |                 <asp:BoundField DataField="EM_NAME" SortExpression="EM_NAME" HeaderText="<22><>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  |                 <asp:BoundField DataField="Dep_name" SortExpression="Dep_name" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  |             | |||
|  |                 </columns> | |||
|  |                <rowstyle cssclass="ItemStyle" horizontalalign="Center" /> | |||
|  |                <headerstyle cssclass="HeaderStyle" horizontalalign="Center" /> | |||
|  |                <alternatingrowstyle cssclass="AlternatingItemStyle" /> | |||
|  |            </asp:gridview> | |||
|  |           | |||
|  |       | |||
|  |      </td> | |||
|  |       <td valign ="top"> | |||
|  |           <asp:gridview id="GvAuthEm" runat="server" AllowPaging="True" AutoGenerateColumns="False" | |||
|  |               CssClass="DataGrid"  emptydatatext="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"   | |||
|  |               ShowFooter="True" | |||
|  |               Width="100%"> | |||
|  |               <columns> | |||
|  |                 <20><> | |||
|  |                 <asp:BoundField DataField="EM_NAME" SortExpression="EM_NAME" HeaderText="<22><>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  |                 <asp:BoundField DataField="Dep_name" SortExpression="Dep_name" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  |             | |||
|  |                 </columns> | |||
|  |               <rowstyle cssclass="ItemStyle" horizontalalign="Center" /> | |||
|  |               <headerstyle cssclass="HeaderStyle" horizontalalign="Center" /> | |||
|  |               <alternatingrowstyle cssclass="AlternatingItemStyle" /> | |||
|  |           </asp:gridview></td> | |||
|  |      </tr> | |||
|  |       | |||
|  |       | |||
|  |       | |||
|  |      </table> | |||
|  |       | |||
|  |       | |||
|  |       | |||
|  |       | |||
|  |       | |||
|  |       | |||
|  |       | |||
|  |        </td></tr> | |||
|  |     <tr><td class="ALine"  > | |||
|  |         </td></tr>  | |||
|  |       | |||
|  |             <tr>  | |||
|  |             <td   align="center" style="height: 27px"   >   <asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnSubmit_Click" /> | |||
|  |                  | |||
|  |                   | |||
|  |                 <asp:Label ID="lbmsg" runat="server"></asp:Label> | |||
|  |                  | |||
|  |                </td> | |||
|  |         </tr> | |||
|  |         <tr><td style="width: 532px"> | |||
|  |              | |||
|  |             <br/></td></tr> | |||
|  |    </table> | |||
|  |      | |||
|  |  </asp:Content> | |||
|  | 
 |