The link posted above is a good starting point but it retreives all the events from the database not just for the current month. In the example the events are retieved during the page_load function. What i need to do is get the current calendar month and use that within the query.
I can't seem to find where to call my getEvents() function to access the calendar current month, any ideas?
i'm using: MessageBox.Show( Calendar1.VisibleDate.ToString() );
to get the calendar date but it always returns 01/01/0001 00:00 im assuming because the calendar object hasn't intialised. I've tried calling my getEvents code from the calendar load method but it still doesnt work. Any pointers on this would be great :)