Is there a way to bind a Calendar to a SqlDataSource? I like to create a calendar where if there is an event scheduled it will show up as highlighted on the calendar. Help is much appreciated.
No way to bind the control. What you have to do, is to create a table of events with dates, if you don't already have it. Then pull the table into a datatable or dataset. Use the calendar's DayRenderEvent, and loop through the dataset comparing the date, if so, set the bgcolor.
If you are looking for us to write code for you, we won't. We will be glad to help if you make a reasonable effort and are having problems. Try your best and post code here if you are having problems or have questions.
Error 1 Cannot convert method group 'ToShortDateString' to non-delegate type 'string'. Did you intend to invoke the method? U:\eventCal.aspx.cs 23 32 U:\
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.