How do you get selected date form MonthCalendar control?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
Can someone tell me How do you get selected date form MonthCalendar control
Thanks so muc
Lisa
 
Hi Lisa,

To get the first date in selected date range, use the 'SelectionStart'
property and to get the last date use the 'SelectionEnd' property. If you
don't want to allow the user to select a range (i.e. only a single date at a
time) then set the 'MaxSelectionCount' property to 1 and then use either the
'SelectionStart' or 'SelectionEnd' properties to get the selected date.

HTH,
Gary
 
Back
Top