Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 27th, 2007, 08:25 AM
Authorized User
 
Join Date: Feb 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Online quiz/testing application

Hie guys, i am trying to create an online testing/quiz application e.g. those IQ tests whereby you have a question, 4 or more possible answers that can be selected with radio buttons and check boxes depending on the type of question. Could you please point me in the right direction or links of templates.

Later on I'd like to create a "pool" of questions where they can be selected from and loaded. i.e. 400 questions in a db but I'll need to pick say 20 at a time and load them for the online quiz. But thats something im looking to do later.

 
Old February 27th, 2007, 09:01 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Umm, i don't really know if there is a template out there for this. All you really need to do is read up on how to pull questions and answers from a database, bind the data to radiobuttonlists, and tally results. Its not to extremely in depth.

www.asp101.com should have enough tutorials to get you pointed in the right direction.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
 
Old February 27th, 2007, 11:08 AM
Authorized User
 
Join Date: Feb 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks a lot, thats a really good site with loads of example and sample code. I'll try my best ang give you feedback as I go along cheers

 
Old February 27th, 2007, 11:11 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Glad you liked it, lots of luck.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
 
Old March 1st, 2007, 04:30 PM
Authorized User
 
Join Date: Feb 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey dparsons i've been doing some coing and i've come to a holt. I managed to create a template like but at the moment it only caters for 1 question. Im sure you know that it should hold at least 10 questions then move on to the next. Duplicating the controls would mean books of code and Im sure there must be an easier way. Any tips ?

 
Old March 1st, 2007, 04:34 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I would recommened using a Datalist and paging. (FYI, the Datalist control does not have "out of the box" paging, you have to implement it yourself.

This article should help you.
http://www.dotnetjohn.com/articles.aspx?articleid=48

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old March 5th, 2007, 02:32 PM
Authorized User
 
Join Date: Feb 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot for that, I managed to lok at it but at the moment I have A label for the question and some radio buttons for the selection of the answer. However the datalist is not able to accomodate those controls. I was thinking arrays or something like that but im not sure where to start

 
Old March 5th, 2007, 03:17 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

....A datalist is quite capable of containing other controls and binding them to seperate datasources.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Testing System Muhammad Zeeshan ASP.NET 1.0 and 1.1 Basics 2 December 10th, 2007 12:04 AM
Online Quiz Application in ASP rathnamv ASP.NET 1.x and 2.0 Application Design 1 February 19th, 2007 11:39 AM
Online testing System karetaker General .NET 4 January 7th, 2007 02:44 AM
web application testing rajanikrishna Classic ASP Databases 0 April 6th, 2005 11:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.