Hi everyone,

I'm building a pretty simple website - a online quiz/test where possible questions are stored and retrieved in a sql database.

I have 2 questions:

1. How can I loop the creation of a formview on the asp page to display each question. I have manage to create one and retrieve the data fine, but how can I loop this process and dynamically add them to the webpage during runtime.

2. How do I uniquely identify each radiobutton in each formview as I am creating the formviews in the loop.


Any advice is appreciated.
Cheers

No use of loop here. Regarding to your question 1 and 2, please read your textboox or MSDN "FormView" topic.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.