コード例 #1
0
        private void getdropdownData()
        {
            BLLStudent objBLLStudent = new BLLStudent();

            ViewBag.dpClass   = objBLLStudent.GetClassDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));
            ViewBag.dpSection = objBLLStudent.GetClassSectionDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));
        }
コード例 #2
0
ファイル: StudentController.cs プロジェクト: khilje125/iDAS
        public ActionResult Search1()
        {
            BLLStudent objBLLStudent = new BLLStudent();

            ViewBag.dpClass   = objBLLStudent.GetClassDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));
            ViewBag.dpSection = objBLLStudent.GetClassSectionDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));

            return(PartialView(customview("_SearchFormPartial", "Student")));
        }
コード例 #3
0
ファイル: StudentController.cs プロジェクト: khilje125/iDAS
        //
        // GET: /Add/

        public void BindDropdownlist()
        {
            BLLStudent objBLLStudent = new BLLStudent();

            ViewBag.dpClass = objBLLStudent.GetClassDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));

            ViewBag.dpSection   = objBLLStudent.GetClassSectionDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));
            ViewBag.dpFeeMonths = objBLLStudent.GetFeeMonthDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));
        }
コード例 #4
0
ファイル: StudentController.cs プロジェクト: khilje125/iDAS
        public ActionResult EditStudent(string studentID)
        {
            ViewModelStudent objModelStudent = new ViewModelStudent();

            if (!String.IsNullOrEmpty(studentID.Trim()))
            {
                BLLStudent objBLLStudent = new BLLStudent();

                objModelStudent = objBLLStudent.GetStudentInfoById(Convert.ToDecimal(studentID));

                ViewBag.dpClass   = objBLLStudent.GetClassDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));
                ViewBag.dpSection = objBLLStudent.GetClassSectionDropdown(Convert.ToInt32(Session[DALVariables.SchoolAccountId]));
            }
            return(PartialView(customview("_EditFormStudent", "Student"), objModelStudent));
        }