We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bind schedulecontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

119778 Jul 30,2015 11:52 AM UTC Aug 5,2015 03:13 PM UTC WinForms 3
loading
Tags: ScheduleControl
Paurnima
Asked On July 30, 2015 11:52 AM UTC

Hi,
I am using schedule control to save appointments in sql server database.
I have a data-table which contains all saved appointment records.
I want to assign that data-table records to the schedule control.
How to do this?Please give me any suggestion.
I am using .Net-framework- 3.5 and sync fusion version-10.403.0.53.



Thank You and Regards,
Paurnima.




Venkatesh Sundaram [Syncfusion]
Replied On July 31, 2015 12:33 PM UTC

Hi Paurnima,

Thank you for using Syncfusion products.


Please refer the below sample link. In this sample, we are using the data table from the MS Access to the schedule control.


By using MDB_ScheduleDataProvider  class you can assign the data table to the ScheduleControl. See the code:

MDB_ScheduleDataProvider scheduleProvider = new MDB_ScheduleDataProvider("..\\..\\ScheduleData.mdb");

scheduleControl1.DataSource = scheduleProvider;
this.scheduleControl1.ScheduleType = ScheduleViewType.Month;


Sample for your reference:

http://www.syncfusion.com/downloads/support/directtrac/133232/ze/CS-940128338

Please let me know if this helps.

Regards,
Venkat.


Paurnima
Replied On August 4, 2015 05:27 AM UTC

Thanks for reply.
I am using sqlserver-2008 database.
You provided the sample using MS Access database.
Could you please upgrade the sample into sqlserver database.
Thank You and Regards,




Paurnima.



Venkatesh Sundaram [Syncfusion]
Replied On August 5, 2015 03:13 PM UTC

Hi Paurnima,

Sorry for the inconvenience.


We have tried to bind the SQL database to the Schedule control but we are unable to get the proper suggestion for the reported scenario. Can you provide a simple sample with the SQL? This will help us determine how best we can help you.


Regards,
Venkat.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;