freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

在線考試系統(tǒng)_c高級開發(fā)實訓(xùn)報告-資料下載頁

2025-07-02 14:02本頁面

【導(dǎo)讀】絕大部分高等院校都已接入互聯(lián)網(wǎng)并建成校園網(wǎng),各校的硬。字化教學(xué)主要朝著信息化、網(wǎng)絡(luò)化、現(xiàn)代化的目標(biāo)邁進(jìn)。化在線考試系統(tǒng),目的在于探索一種以互聯(lián)網(wǎng)為基礎(chǔ)的考試模式。介紹系統(tǒng)計劃設(shè)計的主要功能,簡要描述功能的實現(xiàn)方案??梢岳L制功能框圖。塊可以方便地堆整個在線考試系統(tǒng)進(jìn)行維護(hù)。試科目也會不同,系統(tǒng)必須提供一些參加考試的科目,供考生選擇。這時,在數(shù)據(jù)庫中應(yīng)。該建立一個存儲所有參加考試科目的數(shù)據(jù)庫表。在規(guī)定時間內(nèi)必須完成考試,否則系統(tǒng)會自動提交試。卷,并且將考生的考試成績保存在數(shù)據(jù)表中。其中包括考生登錄時的賬號(考生。編號或考生學(xué)號)及密碼。此數(shù)據(jù)庫中,以便教師或考生對開始?xì)v史記錄進(jìn)行查詢。正確答案以及所屬的科目。單選題信息實體E-R圖如圖9所示:

  

【正文】 = userName。 string userid = Request[UserID].ToString()。 int paperid = (Request[PaperID])。 = (userid, paperid)。 ()。 ListSingleProblem list1 = (userid, paperid)。 if ( != 0){ Label lbl1 = (Label27) as Label。 = list1[0].()。} = (userid, paperid)。 ()。 ListMultiProblem list2 = (userid, paperid)。 if ( != 0){ Label lbl2 = (Label28) as Label。 = list2[0].()。} = (userid, paperid)。 ()。 ListJudgeProblem list3 = (userid, paperid)。 if ( != 0){ Label lbl3 = (Label29) as Label。 = list3[0].()。} = (userid, paperid)。 ()。 ListFillBlankProblem list4 = (userid, paperid)。 if ( != 0){ Label lbl4 = (Label30) as Label。 = list4[0].()。} = (userid, paperid)。 ()。 ListQuestionProblem list5 = (userid, paperid)。 if ( != 0){ 徐州工業(yè)職業(yè)技術(shù)學(xué)院 C高級開發(fā)實訓(xùn)說明書 31 Label lbl = (Label31) as Label。 = list5[0].()。} i = (Session[SingMark]) + (Session[MulMark]) + (Session[JudgeMark]) + (Session[FillMark])。 = ()。 = (paperid)。 = ((userid))。 } }}} 新建第二個頁面,命名為 ,主要用于實現(xiàn) 成績管理。管理員通過選擇試卷的編號,然后點(diǎn)擊“導(dǎo)出 Excel” ,即可將成績導(dǎo)出來。 運(yùn)行界面如圖所示 。 圖 514 成績管理 該頁面用到的主要控件如下表 13 所示 : 表 58: 成績管理界面用到的主要控件 控件類型 控件 ID 主要屬性設(shè)置 用途 RadioButton RadioButton1 AutoPostBack 設(shè)置為 True 選擇 GridView GridView1 無 綁定數(shù)據(jù) DropDownList DropDownList1 無 Button btnchange 無 確定修改 ( 3)實現(xiàn)代碼如下: 徐州工業(yè)職業(yè)技術(shù)學(xué)院 C高級開發(fā)實訓(xùn)說明書 32 protected void ImageButton2_Click(object sender, ImageClickEventArgs e){ string NewFileName = (yyyyMMddHHmmss) + .xls。 NewFileName = (NewFileName)。 ((), NewFileName, true)。 string strConn = Provider=。Data Source= + NewFileName + 。Extended Properties=39。Excel 。39。 OleDbConnection Conn = new OleDbConnection(strConn)。 ()。 OleDbCommand Cmd = new OleDbCommand(, Conn)。 foreach (GridViewRow DR in ){ int a = 。 string XSqlString = insert into [Sheet1$]。 XSqlString += ([用戶編號 ],[用戶姓名 ],[試卷編號 ],[成績 ],[考試時間 ]) values(。 XSqlString += 39。 + ([0].FindControl(lblUserID) as Label).Text + 39。,。 XSqlString += 39。 + ([1].FindControl(lblUserName) as Label).Text + 39。,。 XSqlString += 39。 + ([2].FindControl(Label11) as Label).Text + 39。,。 XSqlString += 39。 + ([3].FindControl(Label4) as Label).Text + 39。,。 XSqlString += 39。 + ([4].FindControl(Label5) as Label).Text + 39。)。 = XSqlString。 ()。} ()。 Reader = (NewFileName)。 long Length = 。 = false。 (Connection, KeepAlive)。 = application/octetstream。 (ContentDisposition, attachment。 filename= + (學(xué)生成績 .xls))。 (ContentLength, ())。 byte[] Buffer = new Byte[10000]。 int ByteToRead。 while (Length 0){ if (){ ByteToRead = (Buffer, 0, 10000)。 (Buffer, 0, ByteToRead)。 ()。 Length = ByteToRead。} else{ Length = 1。 }} ()。} 6 功能 6:用戶信息管理員模塊設(shè)計 用戶信息管理模塊主要是添加用戶和用戶管理兩個功能。用戶可以添加用戶,根據(jù)自己的需要選擇合適的角色。用戶管理是管理員可以 對用戶信息進(jìn)行添加、刪除重置密碼、也可徐州工業(yè)職業(yè)技術(shù)學(xué)院 C高級開發(fā)實訓(xùn)說明書 33 以根據(jù)用戶 ID 進(jìn)行查詢。其添加運(yùn)行界面如下圖所示。 圖 515 添加用戶界面 該頁面用到的主要控件如表所示: 表 59: 添加用戶界面用到的主要控件 控件類型 控件 ID 主要屬性設(shè)置 用途 TextBox txtUserID 無 編 號 TextBox txtUserName 無 輸入 用戶名 TextBox txtUserPwd 輸入密碼 Button btnSubmit Text屬性設(shè)置為“ 保存 “ 保存 btnConcel Text屬性設(shè)置為“ 返回 “ 返回 DropDownList ddlRole Items屬性中添加 三 項 選擇 角色 關(guān)鍵代碼如下所示: protected void Page_Load(object sender, EventArgs e){ = 增加用戶 。 if (!){ if (Session[userID] == null){ ()。} else { string userId = Session[userID].ToString()。 string userName = (userId)。 Label i = (Label)(labUser)。 = userName。}} = getHao()。} protected void imgBtnSave_Click(object sender, ImageClickEventArgs e){ 徐州工業(yè)職業(yè)技術(shù)學(xué)院 C高級開發(fā)實訓(xùn)說明書 34 Users user = new Users()。 = 。 = 。 = 。 = ()。 if ((user)){ = 插入成功! 。} else{ = 插入失??! 。 }} 當(dāng)點(diǎn)擊“ 用戶管理 ” 該頁面用到的主要控件如表所示 : 表 510: 用戶管理界面用到的主要控件 控件類型 控件 ID 主要屬性設(shè)置 用途 TextBox tbxUserID 無 根據(jù)用戶 ID TextBox tbxUserName 無 根據(jù)用戶名 Button BtnSerch Text屬性設(shè)置為“查看 ’ 查詢 GridView GridView1 Columns屬性中添加 4列 顯示試題題目信息及對試題的各項操作 CheckBox chkSelected 無 選擇 RadioButton RadioButton1 AutoPostBack 設(shè)置為 True 選擇 關(guān)鍵代碼如下: protected void Page_Load(object sender, EventArgs e){ = 用戶管理 。 if (!){ if (Session[userID] == null){ ()。} else{ string userId = Session[userID].ToString()。 string userName = (userId)。 Label i = (Label)(labUser)。 = userName。 = ()。 ()。}}} 徐州工業(yè)職業(yè)技術(shù)學(xué)院 C高級開發(fā)實訓(xùn)說明書 35 protected void ImageButtonQuery_Click(object sender, ImageClickEventArgs e){ string userID = 。 string userName = 。 if (userID == amp。amp。 userName == ){ ()。} else{ if (userID != ){ = (userID)。 ()。 = 。 = 。} else{ = (userName)。 ()。 = 。 = 。}}} protected void ImageButtonBack_Click(object s
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1