|
-
Jan 10th, 2006, 02:27 PM
#1
Thread Starter
Member
How to concate and display 2 Dates in a dropdownlist?
Hi,
How to add 2 dates in a row in DDL ( 12/26/2005 - 01/08/2006 )
Below is the code I use to make add dates by day, but I want add extra date like this example. ( 12/26/2005 - 01/08/2006 )
Thanks
Dim MyWeekDay As Integer
Dim i As Integer
i = 0
Do While (i <= 30)
MyWeekDay = Weekday(Today.AddDays(i))
If MyWeekDay = 1 Then
DropDownList1.Items.Add(Today.AddDays(i).ToString("d"))
End If
i = i + 1
Loop
-
Jan 10th, 2006, 04:41 PM
#2
Re: How to concate and display 2 Dates in a dropdownlist?
I don't understand, your request is too ambiguous. Try to explain again.
-
Jan 11th, 2006, 11:19 AM
#3
Thread Starter
Member
Re: How to concate and display 2 Dates in a dropdownlist?
Well it pretty simple how I explained it.
I figured it out anyways.
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
|