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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.