Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Calendar Control and SQL tables
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Calendar Control and SQL tables

 Post Reply Post Reply
peter.haynes View Drop Down

Joined: 31 October 2011
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote peter.haynes Quote  Post ReplyReply Direct Link To This Post Topic: Calendar Control and SQL tables
    Posted: 15 May 2015 at 6:31am
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.
Peter Haynes
Focus Micro Systems
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member

Joined: 12 February 2004
Status: Offline
Points: 264
Post Options Post Options   Thanks (1) Thanks(1)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post 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.
you could use  XTP_NC_CALENDAR_DoRetrieveDayEvents to supply the events per day

Hope this helps :-)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.023 seconds.