如何在C Sharp中创建在线考试系统 [英] How to create online examination system in c sharp

查看:101
本文介绍了如何在C Sharp中创建在线考试系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我必须使用MS SQL Server 2008在csharp .net中创建一个在线考试系统.该服务器中有一个问题数据库,并从中选择了随机问题.
从四个无线电按钮中选择数据库和相应的答案,并维持特定学生的结果,即他应用了多少个问题,其中有多少个是正确的.
当登录或用户可以在开始时设置时间时,还应该显示一个时间.我该怎么办??.我不知道从哪里开始.因为我是c Sharp的新手.请帮助.. .

Hey hello,i have to create an online examination system in csharp .net using MS SQL server 2008.in which server has a database of questions and random question is selected from
the database and the corresponding answer from the four radiobuttos is selected and result of particular student is maintained that-how many questions he applied,and how many of them are corrrect.
also a time should be displayed when login or user can set the time at the beginning.How can i do that ??.I don''t know from where to start.since i am completely new in c sharp .Please help...

推荐答案

我认为您应该从数据库设计开始,并尝试在应用程序之前对数据库执行查询.
对于每个问题,应该有一个自动生成的ID.
要选择随机问题,可以使用Random类来生成数字,并且可以在SQL查询的条件下将此数字用作问题ID.
I think You should start from database designing and try to execute queries on database before on application.
For each question there should be an auto generated ID.
To chose a random questions you can use Random class to generate numbers and you can use this number as question ID in where condition of SQL query.


1.数据库通讯

我知道这篇文章很旧,但是原理是一样的.

面向初学者的ADO.NET [面向初学者的MSDN开发 [
1. Database communication

I know the article is old but the principles are the same.

ADO.NET for beginners[^]

This will teach you how to communicate with the database.

2. Form / page layout

That I''m afraid we can''t tell you how to do it as you know what is needed to make the application successful.

But start with this msdn site MSDN Development for beginners[^]

That should be a good starting point for you. If still you then get errors or need help / direction in your design then ask, but provide as much relevant information as you can and people here will help were they can.


这篇关于如何在C Sharp中创建在线考试系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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