I have a dropdownlist. I want to fill it with times (using vb.net code).
I want the entries in the ddl to be from "8:00 AM" to "5:00 PM",
incrementing every half hour.
I know I could type in the values manually but something tells me that I
could loop thru a time variable and add 1/2 hr, etc... then add it in a
loop. (More efficient.)
Any coders want to give this a shot? The less code the better. Thanks!
I want the entries in the ddl to be from "8:00 AM" to "5:00 PM",
incrementing every half hour.
I know I could type in the values manually but something tells me that I
could loop thru a time variable and add 1/2 hr, etc... then add it in a
loop. (More efficient.)
Any coders want to give this a shot? The less code the better. Thanks!
Comment