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 session management in web application?

748


What is content place holder?

711


What is ispostback method in asp.net? Why do we use that?

824


Why should i prefer JSP over asp.net or any other web development language..??

1695


What is GAC in ASP.NET 2.0

792


What is parse in asp.net?

745


Why is mvc better than asp.net?

739


Why is global asax is used for?

722


What are url fragments?

673


Explain culture and uiculture values.

746


What is a 307 redirect?

664


What do you mean by role-based security?

737


Can action method static?

743


What is the difference between typeof() vs gettype()?

768


How can we communicate with each server in N-tier Architecture? and what are the methods?

1974