3
Answers

Drop down List for Range of integers

John Falls

John Falls

4y
624
1
I wish to do a dropdownlist on a web form where the dropdown will a list of consecutive integers.
(eg range 98 to 103 would be 98, 99, 100, 101, 102,103 or range 13 to 17 would be 13,14,15,16,17 etc)  
 
What is the best way to program for this in C#? I do not wish  to use a database . I assume I will be using 
method Dataset.
 
Many Thanks
John 
Answers (3)