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
What is OSI layer? Explain different layers.
in which protocol ASP.NET WEB API Work?
What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC
How do you identify that the page is postback?
What is razor? : asp.net mvc
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
Differentiate between early binding and late binding.
What is application variable?
What is windows active directory authentication?
Why mvc is faster than asp.net? : Asp.Net MVC
Define static member?
Describe the .net base class library.
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
Why do we need url encoding?
What are Authentication and Authorization?