I have a calendar control that uses SelectionMode="DayWeekMonth". I can get it to show me the dates selected in a range using Calendar.SelectedDates, but i want to obtain the minimum and maximum values from the range so that i can pass these to a stored procedure.
For example if i select a week Mon 11/09/2006 - Sun 17/09/2006 I want to store 11/09/2006 in the minimum var and 17/09/2006 in the maximum var. I would do a similar thing for a month. How do i access these values from the collection?