1 / 8

某老师的困惑

某老师的困惑. 我有一份考工的理论题库,是 Excel 文件。我在想如果转换到 Word 文件中再排版,再印刷,一是浪费时间,既要做成 Word 卷,测试完还要手工批卷;二是浪费纸张( 4 — 5 个班级近 200 多人使用),我在想能不能做成上机试卷,在计算机上测试,多方便,谁能帮我这个忙吗?. 我要是能帮忙就好了 !. 单机版理论试卷的初步生成. —— 沈荷英执教. 任务单. 任务 1: 题库的生成. 数据库 TestDB 的创建 Excel 文件转换成数据库 TestDB 中的表

Download Presentation

某老师的困惑

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 某老师的困惑 我有一份考工的理论题库,是Excel文件。我在想如果转换到Word文件中再排版,再印刷,一是浪费时间,既要做成Word卷,测试完还要手工批卷;二是浪费纸张(4—5个班级近200多人使用),我在想能不能做成上机试卷,在计算机上测试,多方便,谁能帮我这个忙吗? 我要是能帮忙就好了!

  2. 单机版理论试卷的初步生成 ——沈荷英执教

  3. 任务单

  4. 任务1: 题库的生成 • 数据库TestDB的创建 • Excel文件转换成数据库TestDB中的表 在SQL Server数据库中选中TestDB,右键单击,选中“任务”——“导入数据”→进入SQL Server导入和导出向导→选择数据源(Microsoft Excel),浏览选择“题库.xls”→选择目标(SQL Server Client) →指定复制或查询(选择复制一个或多个表或视图的数据) →执行成功

  5. 任务3:试题的显示 • 添加Adodc1对象 • 设置Adodc1属性 • 绑定Adodc1对象与标签对象 标签对象.DataSource (代表数据源) 标签对象.DataField(代表数据字段)

  6. ADO控件对象的记录集的常用属性与常用方法(Adodc1.RecordSet ) 测试答案

  7. 嘿嘿,解决了!

  8. 课后的思考 • “交卷”功能 • 考试时间控制 • 试卷不足之处

More Related