Sunday, June 29, 2008

.net calendar control

This is rather simple but... I apparently I didn't know.

if you want to set your calendar control to today's date, you can....

Calendar1.SelectedDate = DateTime.Today;

I would think Calendar control would have something like
Calendar.SetToToday() method..

ooops, it doesn't..

No comments: