コード例 #1
0
        public void fillHiddenVal()
        {
            allSelectRoleWise a = new allSelectRoleWise();

            if (ComapnyHdn.Value == "")
            {
                ComapnyHdn = a.allSelect(globalds, "COM");
            }
            if (DivisionHdn.Value == "")
            {
                DivisionHdn = a.allSelect(globalds, "DIV");
            }
            if (DepartmentHdn.Value == "")
            {
                DepartmentHdn = a.allSelect(globalds, "DEPT");
            }
            if (LocationHdn.Value == "")
            {
                LocationHdn = a.allSelect(globalds, "LOC");
            }
            if (EmployeeHdn.Value == "")
            {
                EmployeeHdn = a.empAllSelect(ListBox1);
            }
            if (ShiftHdn.Value == "")
            {
                ShiftHdn = a.allSelect(globalds, "SFT");
            }
        }
コード例 #2
0
        public void fillHiddenVal()
        {
            allSelectRoleWise a = new allSelectRoleWise();

            if (ComapnyHdn.Value == "")
            {
                ComapnyHdn = a.allSelect(globalds, "COM");
            }
            if (DivisionHdn.Value == "")
            {
                DivisionHdn = a.allSelect(globalds, "DIV");
            }
            if (DepartmentHdn.Value == "")
            {
                DepartmentHdn = a.allSelect(globalds, "DEPT");
            }
            if (LocationHdn.Value == "")
            {
                LocationHdn = a.allSelect(globalds, "LOC");
            }
            if (GradeHdn.Value == "")
            {
                GradeHdn = a.allSelect(globalds, "GRD");
            }
            if (GroupHdn.Value == "")
            {
                GroupHdn = a.allSelect(globalds, "GRP");
            }
            if (EmployeeHdn.Value == "")
            {
                EmployeeHdn = a.empAllSelect(ListBox1);
            }
            if (RederHdn.Value == "")
            {
                RederHdn = a.empAllSelect(lstReader);
            }
        }