John Falls

John Falls

  • NA
  • 28
  • 1.9k

Drop down List for Range of integers

Sep 4 2020 1:34 PM
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)