Hi ankit, Pls try this code to access the subject of perticular student.
..code removed