|
-
Feb 21st, 2010, 09:12 AM
#7
Re: Dates...
 Originally Posted by hepeci
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|