91 lines
		
	
	
		
			5.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			91 lines
		
	
	
		
			5.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
|  | <%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" | |||
|  |     CodeFile="DeptEmp.aspx.cs" Inherits="DeptEmp" %> | |||
|  | 
 | |||
|  | <%@ 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="100%" class="Table_NoBorder" border="1"> | |||
|  |                     <tr> | |||
|  |                         <td style="width: 300px"> | |||
|  |                             <asp:Label ID="lbrole" runat="server" Font-Bold="True" Text="<22><>Ա<EFBFBD>б<EFBFBD>" /> | |||
|  |                         </td> | |||
|  |                         <td style="width: 300px"> | |||
|  |                             <asp:Label ID="lbemp" runat="server" Font-Bold="True" Text="<22><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>" /> | |||
|  |                         </td> | |||
|  |                         <td style="width: 300px" nowrap> | |||
|  |                             <asp:Label ID="lbEmDept" runat="server" Font-Bold="True" Text="<22><>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD>嵥" /> | |||
|  |                         </td> | |||
|  |                     </tr> | |||
|  |                     <tr> | |||
|  |                         <td valign="top"> | |||
|  |                             <asp:TreeView ID="TreeDeptEmp" runat="server" ShowLines="True" ImageSet="Arrows" | |||
|  |                                 OnSelectedNodeChanged="TreeDeptEmp_SelectedNodeChanged"> | |||
|  |                                 <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" /> | |||
|  |                                 <Nodes> | |||
|  |                                     <asp:TreeNode Text="WMS" Selected="True" Value="0" Expanded="True" SelectAction="None"> | |||
|  |                                     </asp:TreeNode> | |||
|  |                                 </Nodes> | |||
|  |                             </asp:TreeView> | |||
|  |                         </td> | |||
|  |                         <td valign="top"> | |||
|  |                             <asp:TreeView ID="TreeDept" runat="server" ShowLines="True" ImageSet="Arrows" ShowCheckBoxes="All" | |||
|  |                                 OnSelectedNodeChanged="TreeDeptEmp_SelectedNodeChanged"> | |||
|  |                                 <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" /> | |||
|  |                                 <Nodes> | |||
|  |                                     <asp:TreeNode Text="WMS" Selected="True" Value="0" Expanded="True" SelectAction="None"> | |||
|  |                                     </asp:TreeNode> | |||
|  |                                 </Nodes> | |||
|  |                             </asp:TreeView> | |||
|  |                         </td> | |||
|  |                         <td valign="top"> | |||
|  |                              <asp:GridView ID="GvDept" runat="server" AutoGenerateColumns="False" CssClass="DataGrid" | |||
|  |                                 EmptyDataText="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>" ShowFooter="True" DataKeyNames="ID" Width="100%" TabIndex="1" | |||
|  |                                 OnRowCancelingEdit="GvDept_RowCancelingEdit" OnRowUpdating="GvDept_RowUpdating" | |||
|  |                                 OnRowEditing="GvDept_RowEditing"> | |||
|  |                                 <Columns> | |||
|  |                                     <asp:BoundField ReadOnly="True" DataField="ID" Visible="False" SortExpression="ID" | |||
|  |                                         HeaderText="id"></asp:BoundField> | |||
|  |                                     <asp:BoundField ReadOnly="True" DataField="DEP_NAME" SortExpression="DEP_NAME" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField ReadOnly="True" DataField="DEP_DESC" SortExpression="DEP_DESC" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:TemplateField SortExpression="DE_TITLE" HeaderText="ְ<><D6B0>"> | |||
|  |                                         <EditItemTemplate> | |||
|  |                                             <asp:TextBox runat="server" Text='<%# Bind("DE_TITLE") %>' ID="TextBox1"></asp:TextBox> | |||
|  |                                         </EditItemTemplate> | |||
|  |                                         <ItemTemplate> | |||
|  |                                             <asp:Label runat="server" Text='<%# Bind("DE_TITLE") %>' ID="Label1"></asp:Label> | |||
|  |                                         </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> | |||
|  |                     </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" /> | |||
|  |             </td> | |||
|  |         </tr> | |||
|  |         <tr> | |||
|  |             <td style="width: 532px"> | |||
|  |                 <br /> | |||
|  |             </td> | |||
|  |         </tr> | |||
|  |     </table> | |||
|  | </asp:Content> |