I have developed an application that generates a survey based on the question types set on the database. I have a condition that checks the question type and generates a radio button, checkbox, or textbox. I also have a loop that iterates through the question options controls by an index. I identify each control by index.
I use form collection to pass the values to the controller.
Is there a better way of doing this because the solution I have is not efficient if there is a large number of questions?