Is there a way of adding the values 1-15 to an asp dropdownlist without having to do each one individually...
I currently have:
ddlAdults.Items.Insert(0, new listitem("1", "1"))
ddlAdults.Items.Insert(1, new listitem("2", "2"))
ddlAdults.Items.Insert(2, new listitem("3", "3"))
ddlAdults.Ite......
...etc but there has to be a better way.