Question

I'm new to .NET and my first project is to create a event calendar to be populated from a events table in mSQL. I know there is a calendar object in the standard components but wondered if i'm better off populating a table view manually as i didn't know if there were lots of limitations to the standard object/component.

Thanks for your help

Was it helpful?

Solution

This can be done quite easily with the built-in calendar control that .NET provides. You're basically dealing with the DayRender event.

An excellent example can be found here: http://www.c-sharpcorner.com/UploadFile/munnamax/DatabaseDriven08212007012112AM/DatabaseDriven.aspx

OTHER TIPS

You can use the standard calendar control. It will give you the ability to perform code in each cell (day) creation, so you can query your DB, find your dates, and during that paticular date's load, you can write any necessary content inside the cell.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top