ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1727
Number of posts: 3292

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help! Creating an online test Posted by donkyho on 17 Oct 2009 at 8:20 AM
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
Report
Re: Help! Creating an online test Posted by poppin19 on 22 Oct 2009 at 2:47 AM
hello, you can try to search in google。
haha~ i feel here people are very less。
have no more persons answer the questions!
Report
Re: Help! Creating an online test Posted by donkyho on 22 Oct 2009 at 3:50 AM
yes thanks. I tried google as well as other website forums and found my answers! I used to love this site for all the quick responses on forums. Now it takes a week to get a response...if you ever do



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.