Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to bind SchedulerControl to SQL Server database

$
0
0

This example demonstrates how to bind the SchedulerControl to a database located in MS SQL Server 2005.

The basic steps to create this example are equivalent to the steps described in Lesson 1 - Bind a Scheduler to Data. However, several additional steps are added to demonstrate more SchedulerControl capabilites:

- Resources for appointments
Besides the appointment mappings, resource mappings are defined in the SchedulerStorage. A separate TableAdapter is used to retrieve resources from the database.

- Resource sharing
The AppointmentStorageBase.ResourceSharing Property value is set to true (note the It is impossible to set ResourceSharing property to true via XAML bug report).

To test this example locally, you should setup our CarsXtraScheduling sample database in your SQL Server instance (you can download the corresponding *.sql scripts from the How to bind ASPxScheduler to MS SQL Server database example).

Question Comments

Added By: Arti Vengurlecar at: 7/15/2014 2:10:58 AM    

How to generate Dataset using SQL server?


Viewing all articles
Browse latest Browse all 7205

Trending Articles