105 lines
		
	
	
		
			5.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			105 lines
		
	
	
		
			5.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" CodeFile="LessonEmp.aspx.cs" Inherits="LessonEmp" %>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
							 | 
						|||
| 
								 | 
							
								 
							 | 
						|||
| 
								 | 
							
								<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
							 | 
						|||
| 
								 | 
							
								<table   class="Table_NoBorder" width="100%">
							 | 
						|||
| 
								 | 
							
								  
							 | 
						|||
| 
								 | 
							
								    <tr><td>
							 | 
						|||
| 
								 | 
							
								     <table width="80%" class="Table_NoBorder" border="1">
							 | 
						|||
| 
								 | 
							
								     <tr>
							 | 
						|||
| 
								 | 
							
								     <td  style="width: 120px" ><asp:Label ID="lbrole" runat="server" Font-Bold="True" Text="<22>γ<EFBFBD><CEB3>б<EFBFBD>"  /> </td>
							 | 
						|||
| 
								 | 
							
								     <td style="width: 180px"> <asp:Label ID="lbemp" runat="server" Font-Bold="True" Text="<22><>Ա<EFBFBD>б<EFBFBD>"  /></td>
							 | 
						|||
| 
								 | 
							
								     <td style="width: 200px" nowrap>
							 | 
						|||
| 
								 | 
							
								        <20><><asp:Label ID="lbRoleEm" runat="server" Font-Bold="True" Text="<22>γ<EFBFBD><CEB3><EFBFBD>Ա<EFBFBD>嵥"  /></td>
							 | 
						|||
| 
								 | 
							
								      <td valign ="top" style="width: 200px" nowrap>
							 | 
						|||
| 
								 | 
							
								         <20><><asp:Label ID="lbEmRole" runat="server" Font-Bold="True" Text="<22><>Ա<EFBFBD>γ<EFBFBD><CEB3>嵥"  /></td> 
							 | 
						|||
| 
								 | 
							
								     
							 | 
						|||
| 
								 | 
							
								     </tr>
							 | 
						|||
| 
								 | 
							
								     <tr>
							 | 
						|||
| 
								 | 
							
								     <td valign ="top"><asp:TreeView id="TreeLesson" runat="server"  ShowLines="True" ImageSet="Arrows" OnSelectedNodeChanged="listRoles_SelectedIndexChanged"   >
							 | 
						|||
| 
								 | 
							
								         <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" />
							 | 
						|||
| 
								 | 
							
								         <nodes>
							 | 
						|||
| 
								 | 
							
								<asp:TreeNode Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" Selected="True" Value="0" Expanded="True" SelectAction="None"></asp:TreeNode>
							 | 
						|||
| 
								 | 
							
								</nodes>
							 | 
						|||
| 
								 | 
							
								     </asp:TreeView></td>
							 | 
						|||
| 
								 | 
							
								      <td valign ="top"> 
							 | 
						|||
| 
								 | 
							
								       
							 | 
						|||
| 
								 | 
							
								      
							 | 
						|||
| 
								 | 
							
								      <asp:TreeView id="TreeEmp" runat="server"  ShowLines="True" ImageSet="Arrows" 
							 | 
						|||
| 
								 | 
							
								             <20><><EFBFBD><EFBFBD>   OnSelectedNodeChanged="TreeLesson_SelectedNodeChanged"   >
							 | 
						|||
| 
								 | 
							
								             
							 | 
						|||
| 
								 | 
							
								             <nodes>
							 | 
						|||
| 
								 | 
							
								<asp:TreeNode Text="WMS" Selected="True" Value="0" Expanded="True" SelectAction="None" ></asp:TreeNode>
							 | 
						|||
| 
								 | 
							
								</nodes>
							 | 
						|||
| 
								 | 
							
								  <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" />
							 | 
						|||
| 
								 | 
							
								         </asp:TreeView>
							 | 
						|||
| 
								 | 
							
								     
							 | 
						|||
| 
								 | 
							
								     </td>
							 | 
						|||
| 
								 | 
							
								      <td valign ="top">
							 | 
						|||
| 
								 | 
							
								          <asp:gridview id="GvEm" runat="server"   AutoGenerateColumns="False"
							 | 
						|||
| 
								 | 
							
								              CssClass="DataGrid"  emptydatatext="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"  
							 | 
						|||
| 
								 | 
							
								              ShowFooter="True"
							 | 
						|||
| 
								 | 
							
								              DataKeyNames="ID"
							 | 
						|||
| 
								 | 
							
								              Width="100%" AllowPaging="True" OnRowEditing="GvEm_RowEditing" OnRowCancelingEdit="GvEm_RowCancelingEdit" OnRowCommand="GvEm_RowCommand" OnRowUpdating="GvEm_RowUpdating">
							 | 
						|||
| 
								 | 
							
								              <columns>
							 | 
						|||
| 
								 | 
							
								<asp:BoundField ReadOnly="True" DataField="ID" SortExpression="ID" HeaderText="ID" visible="false"></asp:BoundField>
							 | 
						|||
| 
								 | 
							
								<asp:BoundField ReadOnly="True" DataField="EM_NAME" SortExpression="EM_NAME" HeaderText="<22><>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>"></asp:BoundField> 
							 | 
						|||
| 
								 | 
							
								<asp:BoundField ReadOnly="True" DataField="Dep_name" SortExpression="Dep_name" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:BoundField>
							 | 
						|||
| 
								 | 
							
								<asp:TemplateField HeaderText="<22><><EFBFBD><EFBFBD>"><EditItemTemplate>
							 | 
						|||
| 
								 | 
							
								<asp:CheckBox id="CheckBox1" runat="server" __designer:wfdid="w12" Checked='<%# Bind("train_passed") %>'></asp:CheckBox><ASP:CHECKBOXFIELD /> 
							 | 
						|||
| 
								 | 
							
								</EditItemTemplate>
							 | 
						|||
| 
								 | 
							
								<ItemTemplate>
							 | 
						|||
| 
								 | 
							
								<asp:CheckBox id="CheckBox2" runat="server" __designer:wfdid="w14" Checked='<%# Bind("train_passed") %>' Enabled="false" ></asp:CheckBox>
							 | 
						|||
| 
								 | 
							
								</ItemTemplate>
							 | 
						|||
| 
								 | 
							
								</asp:TemplateField>
							 | 
						|||
| 
								 | 
							
								<asp:CommandField InsertVisible="False" CancelImageUrl="~/Images/undo.gif" EditImageUrl="~/Images/edit.gif" ShowHeader="True" UpdateImageUrl="~/Images/save.gif" ButtonType="Image" ShowEditButton="True"></asp:CommandField>
							 | 
						|||
| 
								 | 
							
								</columns>
							 | 
						|||
| 
								 | 
							
								              <rowstyle cssclass="ItemStyle" horizontalalign="Center" /> 
							 | 
						|||
| 
								 | 
							
								              <headerstyle cssclass="HeaderStyle" horizontalalign="Center" />
							 | 
						|||
| 
								 | 
							
								              <alternatingrowstyle cssclass="AlternatingItemStyle" />
							 | 
						|||
| 
								 | 
							
								                <SelectedRowStyle CssClass="SelectedItemStyle"></SelectedRowStyle>
							 | 
						|||
| 
								 | 
							
								          </asp:gridview>
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								         
							 | 
						|||
| 
								 | 
							
								     
							 | 
						|||
| 
								 | 
							
								     </td>
							 | 
						|||
| 
								 | 
							
								       <td valign ="top" ><asp:gridview id="GvRole" runat="server"  AutoGenerateColumns="False"
							 | 
						|||
| 
								 | 
							
								              CssClass="DataGrid"  emptydatatext="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"  
							 | 
						|||
| 
								 | 
							
								              ShowFooter="True"
							 | 
						|||
| 
								 | 
							
								              Width="100%" TabIndex="1" AllowPaging="True" OnRowDataBound="GvRole_RowDataBound"<22><>>
							 | 
						|||
| 
								 | 
							
								           <columns>
							 | 
						|||
| 
								 | 
							
								<asp:BoundField DataField="le_NAME" SortExpression="le_NAME" HeaderText="<22><><EFBFBD>γ<EFBFBD>""></asp:BoundField>
							 | 
						|||
| 
								 | 
							
								<asp:BoundField DataField="train_passed" SortExpression="train_passed" HeaderText="<22>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>"></asp:BoundField>
							 | 
						|||
| 
								 | 
							
								<asp:BoundField HtmlEncode="False" DataFormatString="{0:yyyy-MM-dd}" DataField="train_passedDate" SortExpression="train_passedDate" HeaderText="<22><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>"></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"   >   <asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnSubmit_Click" />
							 | 
						|||
| 
								 | 
							
								             
							 | 
						|||
| 
								 | 
							
								                <!--input type="button" id="ButtonCancel" onclick="reset()"  class="Button"	value="ȡ<><C8A1><EFBFBD><EFBFBD>" NAME="ButtonCancel"--></td>
							 | 
						|||
| 
								 | 
							
								        </tr>
							 | 
						|||
| 
								 | 
							
								        <tr><td style="width: 532px">
							 | 
						|||
| 
								 | 
							
								            
							 | 
						|||
| 
								 | 
							
								            <br/></td></tr>
							 | 
						|||
| 
								 | 
							
								   </table>
							 | 
						|||
| 
								 | 
							
								    
							 | 
						|||
| 
								 | 
							
								 </asp:Content>
							 | 
						|||
| 
								 | 
							
								
							 |