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 / abhinay kumar

if u got answer then its ok else
you do one thing
first of all u store the correct answer in any variable and
match this variable to the correct answer like
you can also match the selectedvalue

if(radilist.selecteditem== yourvale)
{
//here yourvale is a variable which holds the answer value
//the this is your answere is correct
}
if u are not able to complete it then u can contact me at
abhinaykmr4@gmail.com

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are cookies stored on server or client?

496


What is server transfer?

489


14. What are your Future Plans for Swatz Oils GROUP U.K?

1717


Explain ViewState?

572


What is a 1x1 pixel?

526






What is the difference between asp.net and mvc?

578


What is the use of placeholder control? Can we see it at runtime?

567


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

564


What is the difference between sealed vs static class?

571


We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?

1396


What r the asp.net list controls and diff. Between them?

495


What is odata in web api?

553


Can you explain one critical mapping?

516


What are all the various Estimation Techniques available ?

649


What is an asp.net validator? And, mention its types.

584