SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wondering if it is possible to create a custom data source, fill it through code, and bind it to the SPCalenderView.

I searched various places but didn't find any example code which explains binding custom data source to SPCalenderView.

share|improve this question
up vote 1 down vote accepted

If you are looking for a code-based solution you can use the SPCalendarView control, which could bind to any type of data. Look here for a full-blown example

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.