<%@ page autoeventwireup="true" enableeventvalidation="false" inherits="Masters_EmpFilter, App_Web_fjq0m1z3" language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Employee Filter</title>
    <script type="text/javascript" language="javascript" src="../js/levelAjax.js"></script>
    <link href="../css/stylesheet.css" type="text/css" rel="Stylesheet" />
</head>
<body onload="return chckLevel1(0,0)">
    <form id="form1" runat="server">
        <div>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td class="td" align="center">
                        <asp:DropDownList runat="server" CssClass="dlist" ID="ddlLevel0" onChange="getChild(1,this.value)">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span id="div_child"></span>
                    </td>
                </tr>
                <tr>
                    <td class="td">
                        <asp:Button Text="Go" runat="server" ID="btn_Go" CausesValidation="false" OnClick="btn_Go_Click" />
                    </td>
                </tr>
                </table>
                <table cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <table cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="td" align="center">
                                    <asp:HiddenField ID="hdf_orgLevel" runat="server" EnableViewState="true" Visible="true" />
                                    <asp:HiddenField ID="hdf_depth" runat="server" EnableViewState="true" Visible="true" />
                                    <asp:GridView runat="server" AllowPaging="True" AllowSorting="True"  CssClass="td" ID="grv_Emp" AutoGenerateColumns="false" DataSourceID="ObjectDataSource1" CellPadding="4">
                                        <Columns>
                                            <asp:TemplateField>
                                                <HeaderTemplate>
                                                    <asp:CheckBox runat="server" ID="checkall" />
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:CheckBox runat="server" ID="deletethis" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Employee ID" SortExpression="Employee_Id">
                                                <ItemTemplate>
                                                    <asp:Label runat="server" Text='<%# Eval("Employee_Id") %>' ID="EmployeeID" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Employee Name" SortExpression="Employee_FirstName">
                                                <ItemTemplate>
                                                    <asp:Label runat="server" Text='<%# Eval("Employee_FirstName") %>' ID="EmployeeName" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
                                </td>
                            </tr>
                        </table>
                        <asp:Button Text="Ok" runat="server" ID="Btn_Ok" CausesValidation="false" OnClick="btn_Ok_Click" />
                    </td>
                </tr>
            </table>
            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" InsertMethod="Insert_EmployeeDetails"
                SelectMethod="Select_EmployeeDetails" TypeName="EmployeeEventData">
                <InsertParameters>
                    <asp:Parameter Name="companyID" Type="Int32" />
                    <asp:Parameter Name="regionID" Type="Int32" />
                    <asp:Parameter Name="branchID" Type="Int32" />
                    <asp:Parameter Name="deptID" Type="Int32" />
                    <asp:Parameter Name="sectionID" Type="Int32" />
                    <asp:Parameter Name="usergroupID" Type="Int32" />
                    <asp:Parameter Name="designationID" Type="Int32" />
                    <asp:Parameter Name="ShiftPattern" Type="Int32" />
                    <asp:Parameter Name="leavepolicyID" Type="Int32" />
                    <asp:Parameter Name="busrouteID" Type="Int32" />
                    <asp:Parameter Name="empfirstname" Type="String" />
                    <asp:Parameter Name="empmiddlename" Type="String" />
                    <asp:Parameter Name="emplastname" Type="String" />
                    <asp:Parameter Name="fathername" Type="String" />
                    <asp:Parameter Name="dob" Type="String" />
                    <asp:Parameter Name="dobrecord" Type="String" />
                    <asp:Parameter Name="bloodgroup" Type="String" />
                    <asp:Parameter Name="emailID" Type="String" />
                    <asp:Parameter Name="contactaddress" Type="String" />
                    <asp:Parameter Name="permanentaddress" Type="String" />
                    <asp:Parameter Name="phoneno" Type="String" />
                    <asp:Parameter Name="mobileno" Type="String" />
                    <asp:Parameter Name="gender" Type="String" />
                    <asp:Parameter Name="maritalstatus" Type="String" />
                    <asp:Parameter Name="nationality" Type="String" />
                    <asp:Parameter Name="religion" Type="String" />
                    <asp:Parameter Name="photo" Type="Object" />
                    <asp:Parameter Name="personalmailID" Type="String" />
                    <asp:Parameter Name="passportno" Type="String" />
                    <asp:Parameter Name="pexpiry" Type="String" />
                    <asp:Parameter Name="visano" Type="String" />
                    <asp:Parameter Name="vexpiry" Type="String" />
                    <asp:Parameter Name="vehicletype" Type="String" />
                    <asp:Parameter Name="vehicleno" Type="String" />
                    <asp:Parameter Name="anniversary" Type="String" />
                    <asp:Parameter Name="nativeplace" Type="String" />
                    <asp:Parameter Name="district" Type="String" />
                    <asp:Parameter Name="state" Type="String" />
                    <asp:Parameter Name="country" Type="String" />
                    <asp:Parameter Name="spousename" Type="String" />
                    <asp:Parameter Name="spousedob" Type="String" />
                    <asp:Parameter Name="childrenno" Type="Int32" />
                    <asp:Parameter Name="empcodeID" Type="String" />
                    <asp:Parameter Name="doj" Type="String" />
                    <asp:Parameter Name="reportingto" Type="String" />
                    <asp:Parameter Name="leave_sanc_authority" Type="Boolean" />
                    <asp:Parameter Name="Authoritylevel" Type="String" />
                    <asp:Parameter Name="prevexp" Type="Single" />
                    <asp:Parameter Name="basicsalary" Type="Single" />
                    <asp:Parameter Name="allowances" Type="Single" />
                    <asp:Parameter Name="username" Type="String" />
                    <asp:Parameter Name="password" Type="String" />
                    <asp:Parameter Name="qual_join" Type="String" />
                    <asp:Parameter Name="qual_employment" Type="String" />
                    <asp:Parameter Name="outdoor" Type="Boolean" />
                    <asp:Parameter Name="compoff_eligible" Type="Boolean" />
                    <asp:Parameter Name="OT_eligible" Type="Boolean" />
                    <asp:Parameter Name="OT_maxdays" Type="Single" />
                    <asp:Parameter Name="empstatus" Type="Boolean" />
                    <asp:Parameter Name="swipecardno" Type="String" />
                </InsertParameters>
            </asp:ObjectDataSource>
        </div>
    </form>
</body>
</html>
