Updating views in visual c
25-Dec-2019 03:53
Note The approach taken here to edit instructor course data works well when there's a limited number of courses.
For collections that are much larger, a different UI and a different updating method would be required.
The UI that enables you to change which courses an instructor is assigned to is a group of check boxes.
A check box for every course in the database is displayed, and the ones that the instructor is currently assigned to are selected.
The following illustrations show some of the pages that you'll work with.
In each column is a check box followed by a caption that consists of the course number and title.navigation property before it checks for validation errors and adds the new instructor to the database.