Click here to Skip to main content
14,880,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Now i am doing online quiz application....

what i'm doing here, is storing the qustions ,correct answer and user answer in the sqlserver2008 database.i want to display marks to the user.. so i'm going to count the values(correct answer = user input). by using sqlcommand(Select count (*) from quizanswers where CorrectAnswer=useranswer)... its is working well... but my problem is how to display this output in my webpage... when user checks for his answer???? how to display the count output in webpage?

1 solution

You are presumably displaying the questions from the database?

You should be able to display the score in the same way

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900