private void viewProfileFrm_Load(object sender, EventArgs e)
        {
            StudentDAOImpl student = new StudentDAOImpl();

            Playground_frm loginForm = new Playground_frm();

            loggedStudentID = loginForm.returnID();
            MessageBox.Show(loggedStudentID.ToString() + " view");

            forenameVal.Text = student.read(34).getForename();
            surnameVal.Text = student.read(34).getSurname();
            dobVal.Text = student.read(34).getDOB();
            genderVal.Text = student.read(34).getGender();
            studentNumVal.Text = student.read(34).getStudentNumber();
        }
 private void logoutBtn_Click(object sender, EventArgs e)
 {
     Playground_frm nf = new Playground_frm();
     this.Close();
     nf.Show();
 }