Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Help! Creating an online test

donkyhodonkyho Posts: 99Member
I'm trying to create an online test and I am not very familiar with the radiobuttonlist control.


I have 3 classes..cTest, cQuestion, cAnswer...within cTest I have a generic list of cQuestions, within cQuestion, a generic list of cAnswers.


So my thought was that I could use foreach to display the questions and answers...which worked...however, I'm not sure how to retrieve the selected answers when the user clicks submit. Any ideas?


Also, is this the best way to do things? I like the idea of using generic lists, however would it be better to use DataSets and bind them to the RadioButtonLists?


Any help appreciated


Thanks

Comments

Sign In or Register to comment.