Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
workshopdb:database [2010/11/04 14:09] smayr |
workshopdb:database [2010/11/04 14:11] (current) smayr |
||
---|---|---|---|
Line 354: | Line 354: | ||
// use a table adapter to populate the Attendee datatable using ATTENDEE table | // use a table adapter to populate the Attendee datatable using ATTENDEE table | ||
- | datasetWorkshopDBTableAdapters.ATTENDEETableAdapter | + | datasetWorkshopDBTableAdapters.ATTENDEETableAdapter |
- | | + | |
+ | |||
+ | datasetWorkshopDBTableAdapters.WORKSHOPTableAdapter adaptWorkshop = new datasetWorkshopDBTableAdapters.WORKSHOPTableAdapter(); | ||
+ | adaptWorkshop.Fill(ds.WORKSHOP); | ||
+ | |||
+ | datasetWorkshopDBTableAdapters.REGISTRATIONTableAdapter adaptRegistration = new datasetWorkshopDBTableAdapters.REGISTRATIONTableAdapter(); | ||
+ | adaptRegistration.Fill(ds.REGISTRATION); | ||
+ | |||
+ | datasetWorkshopDBTableAdapters.ATTENDANCETableAdapter adaptAttendance = new datasetWorkshopDBTableAdapters.ATTENDANCETableAdapter(); | ||
+ | adaptAttendance.Fill(ds.ATTENDANCE); | ||
// use the Attendee datatable as the DataContext for the Window | // use the Attendee datatable as the DataContext for the Window |