Quote Originally Posted by hepeci View Post
Code:
       Dim startDate As DateTime = "1/12/2009"
        Dim endDate As DateTime = "15/7/2010"

        While startDate <= endDate
            Me.lstDates.Items.Add(startDate)
            startDate = startDate.AddDays(1)
        End While
    End Sub
This is the best way to do this. Thank you.
Your best way won't compile.