资源简介
计算机应用迅猛发展,网络应用不断扩大,如远程教育和虚拟大学的出现等,使得基于Web的在线考试系统成为现实。基于Web的在线考试系统可以发挥网络的优势,建立大型、高效、共享的题库和实现随时随地的考试,降低考试成本,减少人为干扰,减轻教师负担,节约人力、物力和财力。
代码片段和文件信息
using System;
using System.Data;
using System.Collections;
using System.Data.SqlClient;
using MyOnLineExam.DataAccesslayer;
using MyOnLineExam.DataAccessHelper;
namespace MyOnLineExam.BusinessLogiclayer
{
//考试科目类
public class Course
{
#region 私有成员
private int _ID; //题目编号
private string _Name; //题目
#endregion 私有成员
#region 属性
public int ID
{
set
{
this._ID = value;
}
get
{
return this._ID;
}
}
public string Name
{
set
{
this._Name = value;
}
get
{
return this._Name;
}
}
#endregion 属性
#region 方法
//向Course表中添加考试科目信息
//输出:
// 插入成功:返回True;
// 插入失败:返回False;
public bool InsertByProc()
{
SqlParameter[] Params = new SqlParameter[1];
Database DB = new Database();
Params[0] = DB.MakeInParam(“@Name“ SqlDbType.VarChar 50 Name); //考试科目名称
int Count = -1;
Count = DB.RunProc(“Proc_CourseAdd“ Params);
if (Count > 0)
return true;
else return false;
}
//更新科目的信息
public bool UpdateByProc(int CID)
{
SqlParameter[] Params = new SqlParameter[2];
Database DB = new Database();
Params[0] = DB.MakeInParam(“@ID“ SqlDbType.Int 4 CID); //用户编号
Params[1] = DB.MakeInParam(“@Name“ SqlDbType.VarChar 200 Name); //用户权限
int Count = -1;
Count = DB.RunProc(“Proc_CourseModify“ Params);
if (Count > 0)
return true;
else return false;
}
//删除科目
//输入:
// CID - 科目编号;
//输出:
// 删除成功:返回True;
// 删除失败:返回False;
public bool DeleteByProc(int CID)
{
SqlParameter[] Params = new SqlParameter[1];
Database DB = new Database();
Params[0] = DB.MakeInParam(“@ID“ SqlDbType.Int4 CID); //科目编号
int Count = -1;
Count = DB.RunProc(“Proc_CourseDelete“ Params);
if (Count > 0)
return true;
else return false;
}
//查询所用考试科目
//不需要参数
public DataSet QueryCourse()
{
Database DB = new Database();
return DB.GetDataSet(“Proc_CourseList“);
}
#endregion 方法
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3265 2007-03-05 17:25 在线考试系统.net.net\App_Code\BusinessLogicla
文件 6508 2007-03-05 17:25 在线考试系统.net.net\App_Code\BusinessLogicla
文件 5771 2007-03-05 17:25 在线考试系统.net.net\App_Code\BusinessLogicla
文件 8260 2007-03-05 17:25 在线考试系统.net.net\App_Code\BusinessLogicla
文件 4626 2008-03-31 09:45 在线考试系统.net.net\App_Code\BusinessLogicla
文件 3503 2007-03-05 17:25 在线考试系统.net.net\App_Code\BusinessLogicla
文件 8332 2007-03-05 17:26 在线考试系统.net.net\App_Code\BusinessLogicla
文件 8238 2008-03-31 09:45 在线考试系统.net.net\App_Code\BusinessLogicla
文件 2733 2008-03-31 09:43 在线考试系统.net.net\App_Code\DataAccessHelper\GetSafeData.cs
文件 470 2007-03-05 17:26 在线考试系统.net.net\App_Code\DataAccessHelper\SQLString.cs
文件 9561 2008-03-31 09:44 在线考试系统.net.net\App_Code\DataAccessla
文件 4469 2008-03-31 11:35 在线考试系统.net.net\Controls\admin_left.ascx
文件 427 2007-03-05 17:26 在线考试系统.net.net\Controls\admin_left.ascx.cs
文件 3145728 2008-03-31 11:36 在线考试系统.net.net\DB_51aspx\myOnlineExam.mdf
文件 47362 2008-03-31 11:38 在线考试系统.net.net\DB_51aspx\MyOnLineExam.sql
文件 1048576 2008-03-31 11:36 在线考试系统.net.net\DB_51aspx\myOnlineExam_log.ldf
文件 4945 2007-07-18 09:38 在线考试系统.net.net\from.gif
文件 1238 2007-03-05 17:26 在线考试系统.net.net\Images\Answer.GIF
文件 1244 2007-03-05 17:26 在线考试系统.net.net\Images\Confirm.GIF
文件 1236 2007-03-05 17:26 在线考试系统.net.net\Images\Delete.GIF
文件 1263 2007-03-05 17:26 在线考试系统.net.net\Images\Excel.GIF
文件 4945 2007-07-18 09:38 在线考试系统.net.net\Images\from.gif
文件 1345 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp01.gif
文件 1219 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp02.gif
文件 1230 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp03.gif
文件 1247 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp04.gif
文件 1114 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp05.gif
文件 1191 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp06.gif
文件 1149 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp07.gif
文件 1282 2007-03-05 17:26 在线考试系统.net.net\Images\ico_Xp08.gif
............此处省略76个文件信息
- 上一篇:吉大考博人工智能课件
- 下一篇:ckeditor批量上传图片--demo
相关资源
- 基于cs框架的简单在线考试系统
- 在线考试系统源码+毕业设计
- .net驾照在线考试系统
- 在线考试系统有数据库文件
- 基于mvc在线考试系统
- 在线考试系统数据库,说明书,程序
- 试题库管理系统(毕业设计论文)
- 在线考试系统-英文版
- 在线考试系统有数据库文件.rar
- 学生在线考试系统包含客户端+服务端
- 计算机考试系统_Bak.rar
- 在线考试系统_Demo
- 在线考试系统前端
- 学生在线考试系统
- 在线考试系统 毕业设计全套
- 在线考试(网上考试系统)论文-包包
- 在线考试系统2
- 在线考试系统开题报告,中期报告和
- onlineExam.zip
- 在线考试系统(课程设计)源码
- 在线考试系统动态网页设计
- 考试系统.zip
- 基于UML的在线考试系统,大学专业课
- 驾校考试系统
- 在线模拟考试系统
- mvc 在线考试系统
- 通用考试系统V2019
- 基于ssh框架开发的在线考试系统
- 在线考试系统ssh
- 在线考试系统全套任务书+开题报告
评论
共有 条评论