Hi, I am developing an application (quiz engine) using C#
in Dot net.
My problem is I am designing the selction option using
radio button.
So, I want to retrive the data from the database to the
radiobutton option.
And also please tell me the how to compare the correct
answer option with
Answer selected by the users. If any body knows or have
done this before please
Help me out. My mail id is get_rome@yahoo.co.in.
Table format:
Question Id Queston Option1 Option 2 Option 3
Option 4 Correct answer
1 What is ur name? My name is ….. My name ….
My name …. My name …. My name is tom

Answer Posted / shivam

first use if case
if(radiobutton1.checked)
{
use dataadaptor or sqlcommand for retriving the data from
database
if ever anybody clicks on radio button it will check ur
condition n retrive data from database
}

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a page theme and a global theme?

525


What is query string in asp.net?

555


Why do we need asp.net?

582


Which methods validate all the controls on a page?

537


What is the typical session identifier?

567






What is difference between asp state management and asp.net state management?

562


In which event of the page viewstate is available?

456


What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc

533


What are the main requirements for caching?

525


Is asp.net web forms dead?

501


What is a session in asp.net?

528


What is a 404 redirect?

546


Define globalization and localization.

557


Which dll handles the request of .aspx page?

552


How do active server pages work?

536