Author: breath2k | Posted on: 11/8/2010 5:58:57 AM | Views : 1138

In my code behind I have this:

List<StudentTargetsItem> studentTargets = new List<StudentTargetsItem>();         studentTargets = StudentTargets.Select(CurrentStudent.StudentID, CurrentSession.SubjectID);List<StudentTargetsItem> studentTargets = new List<StudentTargetsItem>();
studentTargets = StudentTargets.Select(CurrentStudent.StudentID, CurrentSession.SubjectID);
(Sorry, code insert popup not working so just text)
For some reason I get the error on the second line: Object reference not set to an instance of an object. 
But its set on the line before???

Go to the complete details ...