D
Dennis McCarthy
My database contains a STUDENTS table, a COURSES table,
and an ENROLLMENTS table. The ENROLLMENTS table
represents the many-to-many relationship between students
and courses.
I would like to have a master-detail pair of DataGrid's.
The master grid contains students, and the detail grid
contains the courses in which the selected student is
enrolled.
Master-detail grids are easy when there is a parent-child
relationship between two tables. However, in my case the
parent child relationship is between the STUDENTS and
ENROLLMENTS tables (and the COURSES and ENROLLMENTS).
How can I get a pair of DataGrid's to act as master-detail
for this many-to-many relationship?
Thanks,
Dennis
and an ENROLLMENTS table. The ENROLLMENTS table
represents the many-to-many relationship between students
and courses.
I would like to have a master-detail pair of DataGrid's.
The master grid contains students, and the detail grid
contains the courses in which the selected student is
enrolled.
Master-detail grids are easy when there is a parent-child
relationship between two tables. However, in my case the
parent child relationship is between the STUDENTS and
ENROLLMENTS tables (and the COURSES and ENROLLMENTS).
How can I get a pair of DataGrid's to act as master-detail
for this many-to-many relationship?
Thanks,
Dennis