first select asp.net empty web site template from the available templates
and decide how many questions you want to include in online test.
suppose 5 questi
ons .so take 6 web fo
rms .each webpage contains one question.
i took one extra form because to show result of the online test after clicking submit button in webpage 5.
for each question have multiple choices so take 4 choi
ces and take the choices as radiobut
because one option must be answer.
after that use cookie or query string or session to hold the option selected by the user.
if the selected option is correct then increment "counter" variable.
otherwise no change .
take right answer as "yes" and wrong answer as "no"
add all these values to string
string result+=q+" i"+":"+ session["r1"];
Deepakji, if this helps please login to Mark As Answer. |
Reply | Alert Moderator