Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

Problem with creating looping table rows in asp.net

I need to create a form that has a dropdownlist as one of the components on it.  

If a user selects something from this dropdownlist however, I need to create a new row with another identical dropdownlist.  If the user then selects something from this one, then a third identical drop down should be displayed on the screen.  The user should theoretically have the option of displaying an infinate number of dropdownlists if they so choose.

How would I go about doing this?

Thanks in advance.

-Goalie35
0
Goalie35
Asked:
Goalie35
1 Solution
 
raterusCommented:
I'd use a repeater, bound to an array, or any other datasource of your choosing.  When they add a new row you rebind the repeater, which will display a dropdownlist for each row of the datasource.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now