public void selectedStuRowDetails()
        {
            if (isSelected == true)
            {
                Student objUpdateStudens = new Student();
                objUpdateStudens.StudentID    = SelectedStudentID;
                objUpdateStudens.firstName    = txtFirstName.Text;
                objUpdateStudens.universityID = txtUniversityID.Text;
                objUpdateStudens.age          = Convert.ToInt32(txtAge.Text);
                objUpdateStudens.adress       = txtAdress.Text;
                objUpdateStudens.dateOfBirth  = dtpBirthDate.Value;

                objUpdateStudens.ObjDepartment = new Department();
                objUpdateStudens.ObjDepartment.DepartmentID = Convert.ToInt32(cmbDepartment.SelectedValue);



                systemManager objsystemManagerUpdateSem = new systemManager();

                if (updateSelected == true)
                {
                    objsystemManagerUpdateSem.UpdateStudentDetails(objUpdateStudens);
                }
                if (deleteSelected == true)
                {
                    objsystemManagerUpdateSem.DeleteStudentDetails(objUpdateStudens);
                }
            }
        }