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 are sharepoint pages?
What is the use of web.config and machine.config files?
What is odata in web api?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Which protocol is used to call a web service?
In ViewState How much lifespan items stored?
What is the use of express session?
Is asp.net a language?
How Session outproc in Sqlserver stored?
What is x xss protection?
What is difference between asp state management and asp.net state management?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
what are the ihttphandler and ihttphandlerfactory interfaces ?
Apart from IDE what are the enhancements in asp.net 2.0?
What is anonymous authentication?