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
14. What are your Future Plans for Swatz Oils GROUP U.K?
What is the importance of Global.asax in ASP.NET?
Which class is used to send an email message from an ASP.NET Web page?
What is content place holder?
In which event of page cycle is the viewstate available?
What is the difference between the asp and asp.net?
What is page request in asp.net?
What are themes and skins in 2.0, explain usage scenario?
Why Unload event of MasterPage Calls first in ASP.net ?
How will you maintain versioning in asp.net 2.0?
What is role-based security in asp.net?
Disable Mouse right click on web page in asp.net?
What are the navigation ways between pages available in ASP.NET?
Any disadvantages in Dataset and in reflection ?
What are session and cookies?