Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Database Applications CIS 341 Chapter 4. Objectives Related tables Format Data Grid Parent retrieval Child retrieval Bound and unbound controls.

Similar presentations


Presentation on theme: "Windows Database Applications CIS 341 Chapter 4. Objectives Related tables Format Data Grid Parent retrieval Child retrieval Bound and unbound controls."— Presentation transcript:

1 Windows Database Applications CIS 341 Chapter 4

2 Objectives Related tables Format Data Grid Parent retrieval Child retrieval Bound and unbound controls

3 Data Relationships One-to-many (1:M) One-to-one (1:1) Many-to-many (M:N)

4 studentcourse stu1 Johnclass1 Math stu2 Mary class2 English studentstu_coursecourse Stu1 Marystu1class1class1 Math Stu2 Johnstu1 class2class2 English stu2class1 stu2 class2

5 Grid Related Tables Dataset creation Relationship

6 Data Grid Format Data Grid Data Table Styles Collection Data Grid Table Style Data Grid Column Style Grid Column Styles Collection

7 Parent / Child records Dataset for both tables Relationship Dataset for combo box

8 Unbound Parent / Child records Retrieve a selected parent row Retrieve an array of matching child rows Reference fields in the selected rows

9 Data Grid Format Data Table Data Rows Collection Data Row (0) Data Row (1)

10 Retrieve Parent Row


Download ppt "Windows Database Applications CIS 341 Chapter 4. Objectives Related tables Format Data Grid Parent retrieval Child retrieval Bound and unbound controls."

Similar presentations


Ads by Google