private void cmbdept_SelectedIndexChanged(object sender, EventArgs e)
 {
     departmentId           = int.Parse(cmbdept.SelectedValue.ToString());
     clsModule.FacultyID    = int.Parse(cmbfaculty.SelectedValue.ToString());
     clsModule.DepartmentId = departmentId;
     clsModule.getCourseByDeptSem(cmbcourse);
 }
 private void cmbdept_SelectedIndexChanged(object sender, EventArgs e)
 {
     //semester = int.Parse(cmbsemester.SelectedValue.ToString());
     department             = int.Parse(cmbdept.SelectedValue.ToString());
     clsModule.DepartmentId = department;
     clsModule.Semester     = semester;
     clsModule.getCourseByDeptSem(cmbcourse);
 }