Month Calendar choose day

Tech1

Member
Joined
Apr 2, 2009
Messages
5
Programming Experience
1-3
How can I choose just the day from a monthcalndar control. Is it
posible?:confused:
 
Doing a litle search got to problem solve. for those with the same
question.

To Chose only day:
Text1.Text = MonthCalendar1.SelectionStart.Day

To Chose only Month:
TextBox2.Text = MonthName(MonthCalendar1.SelectionStart.Month) ,This will convert the
month from a integer to a string

To Chose only year:
Texbox3.Text = MonthCalendar1.SelectionStart.Year
some some reason the code:
Monthcalendar.selectionstar.month.ToString did not work.
 
Back
Top