Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 adapt = new datasetWorkshopDBTableAdapters.ATTENDEETableAdapter(); +        datasetWorkshopDBTableAdapters.ATTENDEETableAdapter adaptAttendee = new datasetWorkshopDBTableAdapters.ATTENDEETableAdapter(); 
-        adapt.Fill(ds.ATTENDEE);+        adaptAttendee.Fill(ds.ATTENDEE); 
 + 
 +        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