asp.net 4.0 calendar get selected dates

I have a calendar control, selection mode is set to DayWeek.  So I select a week and I have two labels that I want to put the beginning date and ending date into so

label1.text = calendar1.selected. date gets the first day (Sunday)
label2.text = calendar1.???????  << I need this to be the last day (Saturday)

Thanks
LVL 2
bergertimeAsked:
Who is Participating?
 
YZlatConnect With a Mentor Commented:
try

 Label1.Text += Calendar1.SelectedDates[0];

        Label2.Text += Calendar1.SelectedDates[6];
0
 
bergertimeAuthor Commented:
Wow,that was fast.
0
 
bergertimeAuthor Commented:
Oh, and thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.