protected void Page_Load(object sender, EventArgs e)
    {
        binding = new SearchBinding(dbConn, db);
        //binding.add(new LikeSearchBinder(EmpNo, "EmpNo"));
        //binding.add(new LikeSearchBinder(EmpEngSurname, "EmpEngSurname"));
        //binding.add(new LikeSearchBinder(EmpEngOtherName, "EmpEngOtherName"));
        //binding.add(new LikeSearchBinder(EmpChiFullName, "EmpChiFullName"));
        //binding.add(new LikeSearchBinder(EmpAlias, "EmpAlias"));
        //binding.add(new DropDownVLSearchBinder(EmpGender, "EmpGender", Values.VLGender).setLocale(ci));
        //binding.add(new FieldDateRangeSearchBinder(JoinDateFrom, JoinDateTo, "EmpDateOfJoin").setUseCurDate(false));
        //binding.add(new DropDownVLSearchBinder(EmpStatus, "EmpStatus", EEmpPersonalInfo.VLEmpStatus));
        //binding.initValues("EmpStatus", null, EEmpPersonalInfo.VLEmpStatus, ci);
        binding.init(DecryptedRequest, null);


        if (!Page.IsPostBack)
        {
            PositionList.LoadListControl(dbConn, EPosition.VLPosition, true);
            RankList.LoadListControl(dbConn, ERank.VLRank, false);
            EmploymentTypeList.LoadListControl(dbConn, EEmploymentType.VLEmploymentType, true);
            StaffTypeList.LoadListControl(dbConn, EStaffType.VLStaffType, true);
            PayrollGroupList.LoadListControl(dbConn, EPayrollGroup.VLPayrollGroup, true);


            //selected = PayGroupID.SelectedValue;
            //WebFormUtils.loadValues(PayGroupID, EPayrollGroup.VLPayrollGroup, new DBFilter(), null, (string)selected, (string)"combobox.notselected");

            string selected = EmpGender.SelectedValue;
            WebFormUtils.loadValues(dbConn, EmpGender, Values.VLGender, new DBFilter(), ci, (string)selected, (string)"combobox.notselected");
        }
    }