在线测验 [英] online quiz regarding

查看:76
本文介绍了在线测验的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我正在进行在线测验申请....



我在这里做的,是存储qustions,正确答案和用户答案sqlserver2008 database.i想要向用户显示标记..所以我要计算值(正确答案=用户输入)。通过使用sqlcommand(从quizanswers选择count(*),其中CorrectAnswer = useranswer)...它运行良好...但我的问题是如何在我的网页中显示此输出...当用户检查他的答案??? ?如何在网页中显示计数输出?

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?

推荐答案

您可能会在数据库中显示问题?



您应该能够以相同的方式显示分数
You are presumably displaying the questions from the database?

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


这篇关于在线测验的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆