【正文】
info where number=+[id])。 2. 學(xué)生模塊只允許學(xué)生用戶進(jìn)入。 4. 學(xué)生模塊主要分為作業(yè)查看提交,作業(yè)成績查詢和作業(yè)答案查看三個功能部分 。 6. 學(xué)生用戶可以在用戶資料修改頁面修改自己的個人信息和選擇需要查看作業(yè)的教師。學(xué)生選擇老師以后,系統(tǒng)通過 INSERT 語句向 stusent_teacher 表中插入一行,用來記錄學(xué)生和 教 師的多對多關(guān)系。系統(tǒng)從 teacher_work_info 表和 person_info 表里提取教師姓名字段 、 作業(yè)題目字段和提交時間字段綁定到列表中 并顯示到頁面上 。 1. 記錄學(xué)生和 教 師的多對多關(guān)系 string sql1=Insert into student_teacher+ values (+Session[id]+,+tems[].Value+)。 2. 學(xué)生 提交作業(yè) DataSet ds1=(select * from student_work_info where id=+Int32.Parse()+ and studentid=+Session[id])。 ()。+str+39。++39。++39。 (sql)。 += 。通過判斷一個參數(shù)的值來區(qū)分列表里的所列的作業(yè)是查看未做作業(yè)還是查詢作業(yè)成績。 系統(tǒng) 同 樣 將 跳轉(zhuǎn)到 頁面 ,通過判斷一個參數(shù)的值來區(qū)分所調(diào)用的相關(guān)函數(shù)是否顯示教師評語。 =false。 =false。 =false。//學(xué)生查 詢時不顯示 } 2. 查詢作業(yè)成績 private void showQuery() { DataSet ds = (SELECT as name, , ,t, FROM student_work_info s,person_info p,teacher_work_info t WHERE !=39。 and = and = and =+Reques[id])。 DataRow tempRow= [0].Rows[0]。 =Session[name].ToString()。 =tempRow[content].ToString()。 =(tempRow[grade].ToString())。 =false。 =false。 =false。 =false。 選擇任意一個題目 , 系統(tǒng) 將 跳轉(zhuǎn)到 頁面, 通過判斷一個參數(shù)的值來區(qū)分是否是學(xué)生用戶訪問此頁面。 1. 判斷訪問的用戶類型 if(Session[role].ToString()==1) BindSelectedData()。 2. 查看標(biāo)準(zhǔn)答案 private void showAnswer() { DataSet ds = (select , from person_info p,teacher_work_info t WHERE =39。 and =)。 =[id]。 =tempRow[title].ToString()。 =tempRow[answer].ToString()。 =false。 =false。 =false。系統(tǒng)通過判斷用戶唯一的 ID 號,把相關(guān)信息顯示到頁面上。 string sql = update person_info + Set passwd=39。,name=39。 + ,phone=39。,=39。 where id=39。 (sql)。 2. 在添加數(shù)據(jù)成功后,進(jìn)行修改操作, 比較 修改 后的數(shù)據(jù)是否和預(yù)期值一致。 4. 點(diǎn)擊“退出”,是否能順利退出模塊。 2. 修改后數(shù)據(jù)與預(yù)期值一致。 4. 可以退出模塊。 2. 提交作業(yè)以后看是否能正確記錄學(xué)生的作業(yè) 。 4. 進(jìn)行修改個人信息操作,比較 修改后的數(shù)據(jù)是否和預(yù)期值一 致。 測試結(jié)果 1. 能 正確選擇教師并能查看到預(yù)期想要的作業(yè)內(nèi)容。 3. 能 查看到正確的成績和答案 。 5. 可以退出模塊。但是通過以上簡單的測試,說明了,設(shè)計方法的正確性,它已經(jīng)初步具備了作業(yè)在線提交系統(tǒng)的基本框架,具有良好的檢測性能和準(zhǔn)確的檢測結(jié)果。 1. 系統(tǒng)的安全性能還有待提高。 2. 系統(tǒng)的提交方式單一,可以在以后的升級版本中添加進(jìn)入更多的提交方式。 若要在其它平臺上運(yùn)行,還需要修改部分代碼。 結(jié) 論 本次畢業(yè)設(shè)計 主要分析了作業(yè)在線提交系統(tǒng)的實(shí)現(xiàn)的主要方法, 并對系統(tǒng)進(jìn)行的詳細(xì)的需求分析, 對開發(fā)所需要的相關(guān)主要技術(shù)做了描述。該系統(tǒng)是基于 Microsoft Visual Studio .NET 2020 開發(fā)平臺與 Microsoft SQL Server 工具進(jìn)行數(shù)據(jù)庫的設(shè)計,采用 C語言進(jìn)行開發(fā) 的。 該系統(tǒng) 實(shí)現(xiàn) 作業(yè)在線提交功能 ; 作業(yè)參考答案的下載 ; 在線實(shí)時查看作業(yè)批改的情況 ; 用戶信息管理(教師用戶,學(xué)生用戶,管理員用戶 ), 設(shè)置用戶的功能和權(quán)限 等一些基本的功能 。 系統(tǒng)已經(jīng)進(jìn)行了測試,基本功能都成功了,但是因為初次開發(fā),在系統(tǒng)中難免存在著各種問題,這些會在以后的時間里進(jìn)行更正。 [2] 方睿 , 刁仁宏 , 吳四九 . 網(wǎng)絡(luò)數(shù)據(jù)庫原理及應(yīng)用 [M].成都 :四川大學(xué)出版社 ,。 [4] 張海藩 .軟件工程導(dǎo)論 [M].北京 :清華大學(xué)出版社 ,2020年 12月第 4版 。 [6] (美 )Chris Ullman, Chris Goode,康博 . 入門經(jīng)典 [M].北京 :清華大學(xué)出版社 ,。 Web設(shè)計技術(shù)與技巧 [M].機(jī)械 工業(yè)出版社 , 。在此向他表示我最衷心的感謝! 感謝方睿老師在課題研究初期給予的幫助,在方睿老師的幫助下課題才得以很好的展開,有了一個很好的開端!感謝朱光琴同學(xué)在系統(tǒng)設(shè)計過程中給予幫助,因為他們的協(xié)助,才得以高效率的完成了所有的開發(fā)成果! 在論文完成過程中,本人還得到了其他老師和許多同學(xué)的熱心幫助,本人向他們表示深深的謝意! 最后向在百忙之中評審本文的各位專家、老師表 示衷心的感謝! 作者簡介: 姓 名:閔逸媛 性別:女 出生年月: 1985 年 7 月 16 日 民族:布依 Email: 聲 明 本論文的工作是 2020 年 2 月至 2020 年 6 月在成都信息工程學(xué)院網(wǎng)絡(luò)工程系完成的。除非另有說明,本文的工作是原始性工作。 ( 2)學(xué)??梢圆捎糜坝 ⒖s印或其他復(fù)制方式保存學(xué)位論文。 ( 4)學(xué)??稍试S學(xué)位論文被查閱或借閱。 除非另有科研合同和其他法律文書的制約,本論文的科研成果屬于 成都信息工程學(xué)院。 and the herald shall proclaim in the agora theoffence for which he is going to be beaten. The warden of the agoraand the guardians of the law shall obtain information from experiencedpersons about the rogueries and adulterations of the sellers, andshall write up what the se ller ought and ought not to do in each case。 for is not he a benefactor who reduces the inequalitiesand inmensurabilities of goods to equality and mon measure?And this is what the power of money acplishes, and the merchant maybe said to be appointed for this purpose. The hireling and thetavernkeeper, and many other occupations, some of them more andothers less seemly alike have this object。 wherefore all that relates to retail trade, andmerchandise , and the keeping of taverns, is denounced and numberedamong dishonourable things. For if what I trust may never be andwill not be, we were to pel, if I may venture to say a ridiculousthing, the best men everywhere to keep taverns for a time, or carry onretail trade, or do anything of that sort。 and if all such occupations were managed onincorrupt principles, they would be honoured as we honour a motheror a nurse. But now that a man goes to desert places and builds bouseswhich can only be reached be long journeys, for the sa ke of retailtrade, and receives strangers who are in need at the welerestingplace, and gives them peace and calm when they are tossed bythe storm, or cool shade in the heat。 one of whom corruptsthe soul of man with luxury, while the other drives him by pain intoutter shamelessne ss. What remedy can a city of sense find against thisdisease? In the first place, they must have as few retail traders aspossible。 and in the third place, they must devise some way wherebythe followers of these occupations themselves will not readily fallinto habits of unbridled shamelessness and meanness. After this preface let our law run as follows, and may fortunefavour us:No landowner among the Mages, w hose city the God isrestoring and resettlingno one, that is, of the 5040 families,shall bee a retail trader either voluntarily or involuntarily。 and in general for his elderswho are freemen, and whom he serves as a freeman. Now it isdifficult to determine accur ately the things w hich are worthy orunworthy of a freeman, but let those who have obtained the prize ofvirtue give judgment about them in accordance with their feelings ofright and wrong. He who in any way shares in the illibe rality ofretail trades may be indicted for dishonouring his race by any one wholikes, before those who have been judged to be the first in virtue。s house by anunworthy occupation, let him be imprisoned for a year and abstain fromthat sort of thing。 andevery time that he is convicted let the le ngth of his imprisonmentbe doubled. This shall be the second law:He who engages