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
What is difference between asp state management and asp.net state management?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
Explain Features in ASP.NET
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
What are the page life cycle events?
Can you explain one critical mapping?
How can you identify that the page is post back?
How would you enable impersonation in the web.config file?
What is the difference between user control an custom control?
Explain the significance of routing? : asp.net mvc
Differentiate globalization and localization.
What is the difference between web.config and machine.config in ASP.NET?
How do I use a proxy server when invoking a web service?
What is query string? What are its advantages and limitations?
What is a multilingual website?