Posted on: 12/18/2013 2:21:56 PM | Views : 931

Hello

I am using VS 2013. 
I have a dropdownlist (dropdownlist1) which is currently empty.  I want to populate it with values from 0 to 23 (hours of the day).  I could hardcode the values as listitems but I want to do it in the code behind (VB).
I think I could do it as a do while look and set i (integer) as 1 an then increment it by 1 each time till I get to 24.
I have no idea how to then get the dropdown to populate with this.

Go to the complete details ...