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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rajesh
hi this is rajesh pass the question id to the stored procedure
and retrieve the options from the datasource take
radiobuttonlist and bind the content to the radiobutton list
if any doubts is there contact to my maid id i will help u
ok byeeeeeeeee
Is This Answer Correct ? | 12 Yes | 5 No |
Answer / ajay
can you send me the coding so that i can resolve it
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
What is clickid?
What is meant by asp.net?
Briefly describe the role of global.asax?
Where can I get the details on migration of existing projects using various technologies to asp.net?
Define page output caching?
what is page life cycle state management postback cross page postback types of feilds in gridview gridview events their life cycle cte in sql diff truncate and delete paging concepts in gridview diff bet gridview datalist and repeater what new operations in sql 2005 compared to earlier you get
You create an assembly to access data in a relational database. This assembly will be used by several ASP.NET applications on your Web server. You need to ensure that all your applications can access the assembly. Which two actions should you take (Each Answer: presents part of the solution.)? (Choose two) A . Run the Assembly Registration tool (Regasm.exe). B . Run the String Name tool (Sn.exe). C . Run the Installer tool (Intallutil.exe). D . Run the Global Assembly Cache tool (Gacutil.exe).
6 Answers CPCL, Syntax Softtech,
What are validator? Name the Validation controls in asp.net? How do u disable them?
main difference between asp.net2.0,asp.net1.1,asp.net1.0
What are web beacons used for?
If there is submit button in a from tell us the sequence what happens if submit is clicked and in form action is specified as some other page ?
How can I have a particular web page in an asp.net application which displays its own error page?