//to get user inputs
        public void getData()
        {
            //creating a object from student class
            Student objStudent = new Student();

            objStudent.firstName = txtFirstName.Text;
            //objStudent.lastName = txtLastName.Text;
            objStudent.universityID = txtUniversityID.Text;
            objStudent.age          = Convert.ToInt32(txtAge.Text);
            objStudent.dateOfBirth  = Convert.ToDateTime(dtpBirthDate.Value);
            objStudent.adress       = txtAdress.Text;
            objStudent.DepartmentID = Convert.ToInt32(cmbDepartment.SelectedValue);

            systemManager objsystemManager = new systemManager();

            objsystemManager.InsertStudentDetails(objStudent);
        }