Ejemplo n.º 1
0
        private void FillGroup()
        {
            var textFields = new string[] { "GradeCode", "GradeName" };
            var pattern    = "{0} - {1}";
            var orderBy    = new string[] { "GradeCode" };

            StaffGroupEx.LoadCombo(ref cmbStaffGrade, textFields, pattern, true, false, "", "", orderBy);
        }
Ejemplo n.º 2
0
        private void FillParentGradeList()
        {
            var textFields = new string[] { "GradeCode", "GradeName" };
            var pattern    = "{0} - {1}";
            var sql        = "GroupId NOT IN ('" + this.StaffGroupId.ToString() + "')";
            var orderBy    = new string[] { "GradeCode" };

            StaffGroupEx.LoadCombo(ref cboParentGrade, textFields, pattern, true, true, "", sql, orderBy);
        }
Ejemplo n.º 3
0
 private void FillGradeList()
 {
     StaffGroupEx.LoadCombo(ref cboGrade, "GradeCode", false);
 }