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



Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designin..

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

Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designin..

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

Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designin..

Answer / ajay

can you send me the coding so that i can resolve it

Is This Answer Correct ?    1 Yes 1 No

Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designin..

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

Post New Answer

More ASP.NET Interview Questions

What is session start?

0 Answers  


What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?

5 Answers   SLC Ltd,


In C#.net application is run on linux michine

4 Answers  


What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?

0 Answers  


Explain Areas in MVC?

0 Answers   B-Ways TecnoSoft,


What is asp.net master page?

0 Answers  


Hi..I have created a website in Asp.net with C# i want to add Chinese language in my website..could any body tell me that how can i add dynamically this language on user's request...??? thanks n advance...

1 Answers  


Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept?

3 Answers   AFAS, Take United,


what is CLR?

3 Answers   PrimeLine,


What is custom events? How to create it?

0 Answers  


In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected

1 Answers  


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

0 Answers   MCN Solutions,


Categories