Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
workshopdb:database [2010/11/04 12:50]
smayr
workshopdb:database [2010/11/04 14:11] (current)
smayr
Line 335: Line 335:
  
 == Relation Scheme Diagram == == Relation Scheme Diagram ==
 +{{:workshopdb:workshopdb-relationschemediagram.png|WorkshopDB: Relation Scheme Diagram}}
  
 == DataSet == == DataSet ==
Line 353: 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