87 lines
3.8 KiB
Plaintext
87 lines
3.8 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>
|
|||
|
<20><><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="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 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"
|
|||
|
<20><><EFBFBD><EFBFBD> ShowCheckBoxes="All" OnSelectedNodeChanged="TreeDeptEmp_SelectedNodeChanged" ><SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" />
|
|||
|
<nodes>
|
|||
|
<asp:TreeNode Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 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="pk_deptemp"
|
|||
|
Width="100%" TabIndex="1" OnRowCancelingEdit="GvDept_RowCancelingEdit" OnRowUpdating="GvDept_RowUpdating" OnRowEditing="GvDept_RowEditing">
|
|||
|
<columns>
|
|||
|
<asp:BoundField ReadOnly="True" DataField="pk_deptemp" Visible="False" SortExpression="pk_deptemp" 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>
|
|||
|
|