Example E823
Visible to All Users

WinForms Scheduler - Bind to data using LINQ to SQL

This example demonstrates how to bind the WinForms Scheduler to a SQL server using the LINQ to SQL data model.

The Scheduler control does not automatically respond to data modifications in the LINQ data source because the Scheduler control is bound to a copy of data supplied by LINQDataContext. The LINQDataContext does not implement a list change notification mechanism. The Scheduler control can only trace changes originated from the actions performed by the Scheduler itself. Click the Refresh button to reload data.

To run the example, you need a database on the local SQL server. The script used to create the XtraCars database is included in the XtraCars.sql file. Create the database and change the connection string in the app.config file if needed.

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.