ComponentOne Scheduler for WinForms
Mapping the Microsoft Access Database to a C1Schedule Control
Scheduler for WinForms Task-Based Help > Creating a Bindable Microsoft Access Database > Mapping the Microsoft Access Database to a C1Schedule Control
To map the Microsoft Access database to a C1Schedule control, set the mapping properties in the Data Source settings dialog box in the C1Schedule Smart Designer. For more information on accessing the C1Schedule Smart Designer, see C1Schedule Smart Designer.
Note: The following data mappings use the Microsoft Access database created in the Creating a Bindable Microsoft Access Database topic.
  1. Open the Data Source settings dialog box in the C1Schedule Smart Designer.
  2. On the AppointmentStorage tab, map the Appointments table by selecting the following field names from the drop-down lists:
    Data Mapping Property Field Name
    IdMapping AppointmentID
    IndexMapping (none)
    Properties Properties
    Body Body
    End End
    Location Location
    Start Start
    Subject Subject
  3. On the CategoryStorage tab, map the Categories table by selecting the following field names from the drop-down lists:
    Data Mapping Property Field Name
    IdMapping (none)
    IndexMapping CategoryID
    CaptionMapping CategoryName
    TextMapping CategoryName
  4. On the ContactStorage tab, map the Contacts table by selecting the following field names from the drop-down lists:
    Data Mapping Property Field Name
    IdMapping (none)
    IndexMapping ContactID
    CaptionMapping Name
    ColorMapping (none)
    TextMapping Name
  5. On the ResourceStorage tab, map the Resources table by selecting the following field names from the drop-down lists:
    Data Mapping Property Field Name
    IdMapping (none)
    IndexMapping ResourceID
    CaptionMapping ResourceName
    ColorMapping (none)
    TextMapping ResourceName
  6. Close the Data Source settings dialog box.