Asp.net源码专业站
首页->学教实践->在线考试系统完整版源码(C#&Access)>>ExamBLL/Auto Generated Code/JudgeProblemManager.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:在线考试系统完整版源码(C#&Access)
当前文件:文件类型 ExamOnlineAccess/ExamBLL/Auto Generated Code/JudgeProblemManager.cs[1K,2009-6-12 11:42:06]打开代码结构图
普通视图
		            
1using System; 2using System.Collections.Generic; 3using System.Text; 4using System.Data; 5using ExamModel.Auto_Generated_Code; 6using ExamDAL.Auto_Generated_Code; 7 8namespace ExamBLL.Auto_Generated_Code 9{ 10 public class JudgeProblemManager 11 { 12 13 //添加单选题 14 public static bool AddJudgeProblem(JudgeProblem judPro) 15 { 16 int count = JudgeProblemServices.AddJudgeProblem(judPro); 17 if (count > 0) 18 { 19 return true; 20 } 21 else 22 { 23 return false; 24 } 25 } 26 27 //更新单选题 28 public static bool UpdateJudgeProblem(JudgeProblem judPro) 29 { 30 if (JudgeProblemServices.UpdateJudgeProblem(judPro)) 31 { 32 return true; 33 } 34 else 35 { 36 return false; 37 } 38 39 } 40 //通过ID删除 41 public static bool DeleteJudgeById(int judProID) 42 { 43 if (JudgeProblemServices.DeleteJudgeById(judProID)) 44 { 45 return true; 46 } 47 else 48 { 49 return false; 50 } 51 } 52 53 54 55 56 //通过科目名查找单选题题目 57 public static DataSet GetJudgeByCoursename(Course course) 58 { 59 return JudgeProblemServices.GetJudgeproByCourseName(course); 60 } 61 //通过ID获得科目对象 62 public static JudgeProblem GetJudgeproblemById(int judId) 63 { 64 return JudgeProblemServices.GetJudgeproblemById(judId); 65 } 66 } 67} 68
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:在线考试系统完整版源码(C#&Access)
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146