My situation is below:
I defied a class called "Student", it is as simple as below:
public Student
{
Public string Name;
Public List<string> Subjects;
}
Then I defined a List<Student>
called studentList
.
How can I combine this studentList
with a DataGridView
? The second column in the DataGridView
should be a combobox listing all the subjects for the student.