Sunday, July 12, 2009

Help on C# pls?

hi.





i am designing an e-exam booking system





1. can u give me any clue on how to pop up a calendar and highlight those days red to mean the day is already fully booked, or yellow that it is partially booked and perhaps an indication of no. available for the latter, in the calendar itself.





2. and how to export the data as xml within the application?





tks!

Help on C# pls?
Hi there





To work with xml it is probably a good idea to create xml files and store data there. Then you can read the xml document and process the data there. The following links show some examples of working with xml :





http://devresource.hp.com/drc/technical_...





http://www.csharphelp.com/archives/archi...





To highlight days on a calendar do this:





SelectedDatesCollection theDates = Calendar1.SelectedDates;


theDates.Clear();


theDates.Add(new DateTime(2006,11,21));


theDates.Add(new DateTime(2006,11,20));


theDates.Add(new DateTime(2006,11,19));





Calendar1.SelectedDayStyle.BackColor=S...





Set what the selected date is on the calendar and then change its back color to what ever you want. More infor here:





http://msdn2.microsoft.com/en-us/library...





To do a popup window use javascript and call





window.open() method.





You can open up a .aspx page and display your calendar there:





More about window.open here:


http://www.devguru.com/Technologies/ecma...





Hope this helps

song titles

No comments:

Post a Comment