T
Troy
Hello,
I'm storing my student objects in a list box and using the displaymember to
display to display the student first name and lastname.
lstStudents.DisplayMember = "LastFirst"
Dim tmpStudent As Student
For Each tmpStudent In mStudents
lstStudents.Items.Add(tmpStudent)
Next
lblCount.Text = mStudents.Count.ToString()
Now i need to extract the objects from the list based on user selection. I
know it has something to do with selecteditem but cant figure it out.
Help is appreciated
thanks
I'm storing my student objects in a list box and using the displaymember to
display to display the student first name and lastname.
lstStudents.DisplayMember = "LastFirst"
Dim tmpStudent As Student
For Each tmpStudent In mStudents
lstStudents.Items.Add(tmpStudent)
Next
lblCount.Text = mStudents.Count.ToString()
Now i need to extract the objects from the list based on user selection. I
know it has something to do with selecteditem but cant figure it out.
Help is appreciated
thanks