This example demonstrates how to bind data from a SQL database to the ScheduleControl.
This sample explains how schedule data can be loaded from a SQL database and displayed in the ScheduleControl.
- Connects to a SQL database.
- Retrieves schedule data.
- Displays appointments in the ScheduleControl.
This project used the following Syncfusion control(s):
Refer to the following link for more details - System Requirements
-
Clone the sample and open it in Visual Studio.
Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.
-
Register your license key in the Program.cs file as demonstrated in the following code.
static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { //Register Syncfusion license Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY"); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Dashboard()); } }Refer to this link for more details.
-
Clean and build the application.
-
Run the application.
Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.