im doing a programming project and have been stumped on how to add more dates to the bolded dates in a monthly calendar.
Private Sub BTN_Submit_Click(sender As Object, e As EventArgs) Handles BTN_Submit.Click
Dim format As String = "dd/MM/yyyy"
Dim boldeddates() As Date = FRM_EventsCalendar.MonthCalendar1.BoldedDates()
Dim dateTime As String = TXT_Date.Text
Dim dt As DateTime = Convert.ToDateTime(dateTime)
Dim str As String = dt.ToString(format)
Dim specialdate() As Date = {str}
**FRM_EventsCalendar.MonthCalendar1.BoldedDates = specialdate & boldeddates**
MsgBox("Date Added")
End Sub
i am trying to add them together so that instead of replacing the variables they both are bolded. i have tried "&" and "," however none of these work. i was just wondering how this could be solved?
thx for any help :).
Use MonthCalendar.AddBoldedDate