[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Collapse]Scheduler
   [Expand]Product Information
    Getting Started
   [Expand]Scheduler Elements
   [Collapse]Concepts
     Scheduling Basics
    [Expand]Appointments
    [Expand]Resources
    [Expand]Views
     Floating Action Button
    [Collapse]Data Binding
     [Collapse]Data Table Structure
       Microsoft SQL Server
       Collection of Custom Objects
       eXpress Persistent Objects (XPO)
       MS Access Database
    [Expand]Services
     Adaptivity
     Templates
     Client-Side Functionality
     Callback Commands
    [Expand]Reporting
     Time Zones
     iCalendar Support
     Keyboard Shortcuts
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Microsoft SQL Server

The following *.sql script can be used to generate two tables to persist appointment and resource data.

Note

If SchedulerControl.ResourceSharing is enabled, map the Appointments.ResourceID property to the ResourceIDs field, which is [nvarchar](max). Otherwise, map it to the ResourceID field. The ResourceID does not necessarily need to be an integer; the Scheduler treats resource identifier as an Object type, so you can use any type supported by MS SQL Server. Make sure that the type of the ResourceID field is the same in Appointments and Resources tables.

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E215.

Expanded See Also

Is this topic helpful?​​​​​​​