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])); }
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"))); }
// // 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])); }
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)); }