Print Page | Close Window

Calendar Control and SQL tables

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=22602
Printed Date: 04 December 2024 at 1:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Calendar Control and SQL tables
Posted By: peter.haynes
Subject: Calendar Control and SQL tables
Date Posted: 15 May 2015 at 6:31am
Hi
I am using the CalendarControl in Microsoft Visual C# and a SQL database.
The table used in our database is called "Diary" which contains diary information, i.e. dates/times/descriptions etc.
Can I directly use this Diary table with the CalendarControl?
If not is there another method that can be used to allow the calendar control to pick up entries from my Diary table?
I know there is a table called CalendarEvents but I don't really want to use this directly.
Any help would be greatly appreciated.
Regards
Peter Haynes
Focus Micro Systems



Replies:
Posted By: Alex H.
Date Posted: 20 May 2015 at 10:59am
Hi !
We are using MFC
one of the possibilities here is using  a custom data provider derived from CXTPCalendarCustomDataProvider.
or
you could use  XTP_NC_CALENDAR_DoRetrieveDayEvents to supply the events per day

Hope this helps :-)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net