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 |
How you can stop the validation of ASP.NET controls from client side?
0 Answers Sans Pareil IT Services,
Explain the main function of razor in asp.net? : asp.net mvc
Explain the concept of event bubbling in ASP.NET?
0 Answers Sans Pareil IT Services,
What is the difference between file-based dependency and key-based dependency?
How to disable SOAP1.2 in Web Services?
Is object a value type or referenced type?
What are the new web part controls in asp.net 2.0 ?
What is the flow of processing of the request? : asp.net mvc
Can user control be stored in library?
What is scope of an application variable in asp.net?
When would you set this property to false?
What is the web.config file in asp?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)