Results 1 to 3 of 3

Thread: Month Calendar help tips

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2008
    Posts
    778

    Month Calendar help tips

    Hello,

    Can somebody advise me on how to load multiple dates onto a month calendar so I could see them all on it. I will need to load the dates from a database on it but if for know somebody could give me an example on how to load at least 5 dates on it that would be good start.

    Thank you

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Month Calendar help tips

    Very simple example:

    Code:
    Dim arrDateList As New Generic.List(Of Date)
    arrDateList.Add(New Date(2010, 8, 12))
    arrDateList.Add(New Date(2010, 8, 16))
    arrDateList.Add(New Date(2010, 8, 19))
    MonthCalendar1.BoldedDates = arrDateList.ToArray

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2008
    Posts
    778

    Re: Month Calendar help tips

    Nice, thanks for an answer, I'll be working on an array now, it should work out well for me
    Last edited by MrtforCode; Aug 2nd, 2010 at 10:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width