Showing events with the ASP.NET calendar control (page 2 of 3)
This is the administration area. Below the events are listed, as they appear in the database (SQL server, Microsoft Access, Oracle). Feel free to adjust events and see how your changes affect the calendar on the right: click on the "edit" link, situated at the bottom of every event.
Note, how the form scrolls down to the right position, whenever you click an edit or update link. A few extra lines of code which makes this administration area much more user friendly, often overlooked by ASP.NET developers.
When an event gets updated, first the relevant record(s) in the database are edited, then the application array variable gets updated. Again, since the calendar is likely to be placed on many pages (or even every page of a site, we do not want the calendar to connect with a database each time!
The next page shows an overview of events per day - a must for any website listing events see next page...