<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="EmployeeDetail.aspx.cs" Inherits="Maintenance_HR_EmployeeDetail" Title="<%$ Resources: SiteMapLocalizations, Maintenance_EmployeeEditDetail %>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script language="javascript" type="text/javascript" src="../../Script/OpenSubPage.js">
        // open sub page
    </script>

<center>
    <table style="background-color: #00ccff; width: 90%">
        <tr>
            <td colspan="8" style="background-color: paleturquoise; height: 20px; color: #6191FF; font-weight: bold;">
                <asp:Label ID="lblTitle" runat="Server" Width="98%">sss</asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblID" Text="<%$ resources:Universal,Employee_EmployeeID %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtID" runat="Server" Width="100px" EnableViewState="true"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblName" Text="<%$ resources:Universal,Employee_Name %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtName" runat="Server" Width="100px" EnableViewState="true"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblSex" Text="<%$ resources:Universal,Employee_Sex %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:DropDownList ID="ddlSex" runat="server" Width="100px">
                    <asp:ListItem Value="M" Text="<%$ resources:Universal, Msg_Male %>" ></asp:ListItem>
                    <asp:ListItem Value="F" Text="<%$ resources:Universal, Msg_Female %>" ></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblBlood" Text="<%$ resources:Universal,Employee_Blood %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:DropDownList ID="ddlBlood" runat="server" Width="100px">
                    <asp:ListItem Value="" Text="" ></asp:ListItem>
                    <asp:ListItem Value="A" Text="A" ></asp:ListItem>
                    <asp:ListItem Value="B" Text="B" ></asp:ListItem>
                    <asp:ListItem Value="AB" Text="AB" ></asp:ListItem>
                    <asp:ListItem Value="O" Text="O" ></asp:ListItem>
                    <asp:ListItem Value="Rh+" Text="Rh+" ></asp:ListItem>
                    <asp:ListItem Value="Rh-" Text="Rh-" ></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblIdentityNo" Text="<%$ resources:Universal,Employee_IdentityNo %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtIdentityNo" runat="Server" Width="100px"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblPassportNo" Text="<%$ resources:Universal,Employee_PassportNo %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtPassportNo" runat="Server" Width="100px"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblFirstName" Text="First Name" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtFirstName" runat="Server" Width="100px"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblLastName" Text="Last Name" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtLastName" runat="Server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblSettleAddress" Text="<%$ resources:Universal,Employee_F_Address %>" runat="Server"></asp:Label>
            </td>
            <td colspan="3" style="background-color: white;">
                <asp:TextBox ID="txtSettleAddress" runat="Server" Width="98%"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblSettlePhone" Text="<%$ resources:Universal,Employee_F_PhoneNo %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtSettlePhone" runat="Server" Width="100px"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblCellPhone1" Text="<%$ resources:Universal,Employee_CellPhone %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtCellPhone1" runat="Server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblLiveAddress" Text="<%$ resources:Universal,Employee_L_Address %>" runat="Server"></asp:Label>
            </td>
            <td colspan="3" style="background-color: white;">
                <asp:TextBox ID="txtLiveAddress" runat="Server" Width="98%"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblLivePhone" Text="<%$ resources:Universal,Employee_L_PhoneNo %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtLivePhone" runat="Server" Width="100px"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblCellPhone2" Text="<%$ resources:Universal,Employee_CellPhone2 %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtCellPhone2" runat="Server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblEmail1" Text="<%$ resources:Universal,Employee_EMail %>" runat="Server"></asp:Label>
            </td>
            <td colspan="3" style="background-color: white;">
                <asp:TextBox ID="txtEmail1" runat="Server" Width="98%"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblEmail2" Text="<%$ resources:Universal,Employee_EMail2 %>" runat="Server"></asp:Label>
            </td>
            <td colspan="3" style="background-color: white;">
                <asp:TextBox ID="txtEmail2" runat="Server" Width="98%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblDepartment" Text="<%$ resources:Universal,Department_DeptID %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:DropDownList ID="ddlDepartment" DataSourceID="ObjectDataSource1" OnDataBound="ddlDepartment_DataBound" runat="server" Width="100px"></asp:DropDownList>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblJobTitle" Text="<%$ resources:Universal,JobTitle_TitleName %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:DropDownList ID="ddlJobTitle" DataSourceID="ObjectDataSource2" runat="server" Width="100px"></asp:DropDownList>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblJobGrade" Text="<%$ resources:Universal, JobTitle_JobGrade %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:DropDownList ID="ddlJobGrade" runat="server" Width="100px">
                    <asp:ListItem Value="99" Text="" ></asp:ListItem>
                    <asp:ListItem Value="3" Text="3" ></asp:ListItem>
                    <asp:ListItem Value="4" Text="4" ></asp:ListItem>
                    <asp:ListItem Value="5" Text="5" ></asp:ListItem>
                    <asp:ListItem Value="6" Text="6" ></asp:ListItem>
                    <asp:ListItem Value="7" Text="7" ></asp:ListItem>
                    <asp:ListItem Value="8" Text="8" ></asp:ListItem>
                    <asp:ListItem Value="9" Text="9" ></asp:ListItem>
                    <asp:ListItem Value="10" Text="10" ></asp:ListItem>
                    <asp:ListItem Value="11" Text="11" ></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblLeaveDate" Text="<%$ resources:Universal, Employee_LeaveDate %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtLeaveDate" runat="Server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblHireDate" Text="<%$ resources:Universal,Employee_HireDate %>" runat="Server"></asp:Label>
            </td>
            <td style="width: 100px; background-color: white;">
                <asp:TextBox ID="txtHireDate" runat="Server" Width="100px"></asp:TextBox>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="lblSeniorityLabel" Text="<%$ resources:Universal, Employee_Seniority %>" runat="Server"></asp:Label>
            </td>
            <td align="left" style="width: 100px; background-color: white; font-weight: bold">
                <asp:Label ID="lblSeniority" runat="Server" Width="100px"></asp:Label>
            </td>
            <td style="width: 100px; background-color: lightgoldenrodyellow;">
                <asp:Label ID="Label1" Text="<%$ resources:Universal, Comm_Comment %>" runat="Server"></asp:Label>
            </td>
            <td colspan="3" style="background-color: white;">
                <asp:TextBox ID="txtComment" runat="Server" Width="98%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="8" style="background-color: lightblue;">
                <asp:Button ID="btnAddNew" runat="server" Text="<%$ resources:Universal, Data_AddNew %>" OnClick="btnAddNew_Click" />
                <asp:Button ID="btnUpdate" runat="server" Text="<%$ resources:Universal, Data_Update %>" OnClick="btnUpdate_Click" />
                <asp:Button ID="btnDelete" runat="server" Text="<%$ resources:Universal, Data_Delete %>" OnClick="btnDelete_Click" />
                <asp:Button ID="btnBack" runat="server" Text="<%$ resources:Universal, Msg_Back %>" />
            </td>
        </tr>
    </table>

    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" TypeName="HR_OrganizationData" SelectMethod="SelectOrganizationIDAndName"/>    
    
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" TypeName="HR_JobTitleData" SelectMethod="SelectTitleName"/>    

</center>
</asp:Content>

