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 / 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 |
Post New Answer View All Answers
What are the advantages and limitations of query string?
Why viewstate is used in asp.net?
Please brief not about xsd,xslt & xml?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Hi this is the coding for adding data in to an xml table
i want the coding for update and delete
Try
Dim emp_xml_doc As New XmlDocument
If
System.IO.File.Exists(Server.MapPath("emp.xml")) Then
emp_xml_doc.Load(Server.MapPath("emp.xml"))
Dim myrow_element As XmlElement
myrow_element =
emp_xml_doc.CreateElement("EmpDetails")
Dim str As String
str = "
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
List of words of preprocessor in .net?
hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.
What is web api config?
To display data in a Repeater control which template you provide?
COM+ Used ________________ Isolation Level
Explain the difference between response.redirect vs server.transfer
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
How many types of sessions are there in asp net?
What is postback pixel?