Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Hi yaar,
 
I am doing project in asp.net using c# coding.Kindly help me for my project yaar.
 
QUIZQUESTIONS FORM
 

LABEL
RADIOBUTTON1
RADIOBUTTON2
RADIOBUTTON3
RADIOBUTTON4

LABEL
RADIOBUTTON5
RADIOBUTTON6
RADIOBUTTON7
RADIOBUTTON8

LABEL
RADIOBUTTON9
RADIOBUTTON10
RADIOBUTTON11
RADIOBUTTON12

LABEL
RADIOBUTTON13
RADIOBUTTON14
RADIOBUTTON15
RADIOBUTTON16

LABEL
RADIOBUTTON17
RADIOBUTTON18
RADIOBUTTON19
RADIOBUTTON20

LABEL
RADIOBUTTON1
RADIOBUTTON1
RADIOBUTTON1
RADIOBUTTON1
 
label(maximum marks) label(your marks)
label (for displaying the maximum mark 5)
Textbox(to display marks scored by
the student who attended quiz)
 
Button(submit)
 
Button(list of programs)
 

I completed my codings upto displaying all the five questions.
After that,(I need codings for the below process).........
 
when the student answered for all the five quiz questions then they should click the submit button.After clicking the submit button their marks should be calculated and displayed in the textbox below your marks.
Posted 29-Mar-13 1:32am
(unknown member)
Comments
OriginalGriff at 29-Mar-13 6:57am
   
And what have you tried? Where are you stuck?
jonna 2 at 29-Mar-13 7:18am
   
I tried but i don,t know to code for the condition below yaar can you help me by providing codings i will be very much thank full to you..
 
when the student answered for all the five quiz questions then they should click the submit button.After clicking the submit button their marks should be calculated and displayed in the textbox below your marks.
Here the condition is,
1) If the student scored mark 3 and above only they are abel to download the list of programs. Otherwise they should continue the quiz again. only three chances must be given to student for attending quiz.
2) If the three chance is over for the student then also they can abel to download the list of programs but -2 mark should be given to them.
Anurag Sinha V at 29-Mar-13 6:58am
   
handle the button click in code behind...check the anwser of the user against the correct answer by using if loops and award mark for the correct answer and no mark for wrong answer..In the end..add all the marks and display in the lblyourmarks...try it..
pradiprenushe at 29-Mar-13 6:59am
   
Rather than using that much control use databound control like gridview. For your solution use hidden fields which having correct answer. You can check selected answer with respected hidden field on button click & get no of correct answer.
V. at 29-Mar-13 7:03am
   
And how are the marks calculated? Do you get negative points for wrong answers? How many points for a correct answer? Have you managed to handle the submit event handler? Where does the students name come from? Add more info before we can help you.
V. at 29-Mar-13 8:13am
   
May I suggest you start with a "hello world" program and start working your way up from there. If you can't add an event handler to a button click event, this exercise is too difficult to you.
ryanb31 at 29-Mar-13 7:57am
   
We can't "give" you code because there are a million ways to do this and who knows which way will fit into what you have. Where are you stuck?
ryanb31 at 29-Mar-13 8:28am
   
OK. Click the Submit button. Save answers in the database. Figure out which answers are correct. Calculate score based on how many questions there were. Write out their answer on the screen.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 406
1 Marcin Kozub 225
2 Sergey Alexandrovich Kryukov 205
3 /\jmot 175
4 Shweta N Mishra 161
0 OriginalGriff 8,289
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,624
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 29 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100