【正文】
0 NULL 班級(jí) 字符型 20 Not NULL 聯(lián)系 1 字符 型 20 Not NULL 聯(lián)系 2 字符型 20 NULL 交費(fèi)金額 字符型 50 Not NULL 優(yōu)惠原因 字符型 50 NULL 所屬校區(qū) 字符型 50 Not NULL 來(lái)源校區(qū) 字符型 50 Not NULL 錄入人員 字符型 50 Not NULL 表 42 班級(jí)表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 名稱(chēng) 字符型 50 Not NULL 開(kāi)課時(shí)間 字符型 50 Not NULL 價(jià)格 字符型 50 Not NULL 類(lèi)別編號(hào) 數(shù)字型 教區(qū)編號(hào) 數(shù)字型 顯示與否 字符型 50 表 43 教區(qū)表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 名稱(chēng) 文本 型 50 Not NULL 表 44 教區(qū) 班級(jí) 表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 教區(qū)編號(hào) 數(shù)字 型 Not NULL 班級(jí)編號(hào) 數(shù)字 型 表 45 類(lèi)別表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 名稱(chēng) 字符型 50 Not NULL 表 46 優(yōu)惠原因表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 名稱(chēng) 字符型 50 Not NULL 表 47 院 校表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 名稱(chēng) 字符型 50 Not NULL 表 48 專(zhuān)業(yè)表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 名稱(chēng) 字符型 50 Not NULL 學(xué)校 編號(hào) 數(shù)字 型 Not NULL 表 49 項(xiàng)目表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 名稱(chēng) 字符型 50 Not NULL 表 410 用戶(hù) 表 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 可否為空 注釋 編號(hào) 長(zhǎng)整型 Not NULL 姓名 字符型 50 Not NULL 用戶(hù)名 字符型 50 密碼 字符型 50 50 級(jí)別 字符型 50 詳細(xì)設(shè)計(jì) 界面設(shè)計(jì) 系統(tǒng)界面設(shè)計(jì)應(yīng)本著界面友好,操作簡(jiǎn)單、實(shí)用的原則。主要窗體界 面設(shè)計(jì)如下: 整個(gè)系統(tǒng)采用 MDI 界面設(shè)計(jì),包括一個(gè)父窗體和若干個(gè)子窗體,運(yùn)行時(shí),子窗體顯示在父窗體工作區(qū)中。 圖 43 系統(tǒng)界面 報(bào)名界面如圖 44 所示,上部是信息輸入界面,輸入項(xiàng)設(shè)計(jì)時(shí),輸入控件盡量采用下拉列表框,一方面保證輸入的正確性,如班級(jí),不出現(xiàn)學(xué)生報(bào)了事實(shí)上不存在的班級(jí)的情況;另一方面 方便、 快捷,提高了輸入速度 。下部是一個(gè)數(shù)據(jù)表格控件,有兩方面用 途:一方面用于顯示當(dāng)日錄入數(shù)據(jù)庫(kù)的學(xué)生數(shù)據(jù)以便錄入人員核對(duì)錄入信息是否正確,錯(cuò)誤時(shí) 能及時(shí) 進(jìn)行修改;另一方面,因?yàn)榍昂蟮膱?bào)名學(xué)生存在著集中性和一致性特點(diǎn),集中性表現(xiàn)在同一段時(shí)間學(xué)生報(bào)名集中在幾個(gè)有限的班次中,一致性表現(xiàn) 在一同報(bào)名的學(xué)生,通常是來(lái)自同一學(xué)校(單位),或報(bào)同一個(gè)班次的情況比較多,錄入人員可以通過(guò)鼠標(biāo)點(diǎn)擊數(shù)據(jù)顯示控件的單元格,就可將整條學(xué)生記錄顯示在上部的輸入界面,對(duì)其做簡(jiǎn)單的修改即可,就可以成為下一個(gè)學(xué)生的報(bào)名信息,大大提高了錄入效率。 圖 45 插班 界面 (1)教區(qū)、班次報(bào)表 如圖 46 所示,上部是 查詢(xún)組合框,可按教區(qū)、班次、時(shí)間查詢(xún),其中時(shí)間文本框?yàn)楸剡x項(xiàng), 下端 左面 是數(shù)據(jù)顯示控件供用戶(hù)瀏覽 總的 統(tǒng)計(jì)信息 ,右面顯示具體的詳細(xì)信息,通過(guò)中間的查看詳細(xì)資料按鈕連接 。 圖 46 教區(qū)、班次報(bào)表界面 (2)院校、專(zhuān)業(yè)報(bào)表 如圖 47 所示,上部是 查詢(xún)組合框,可按教區(qū)、班次、時(shí)間查詢(xún),其中時(shí)間文本框?yàn)楸剡x項(xiàng), 下端 左面 是數(shù)據(jù)顯示控件供用 戶(hù)瀏覽 總的 統(tǒng)計(jì)信息 ,右面顯示具體的詳細(xì)信息,通過(guò)中間的查看詳細(xì)資料按鈕連接 。 圖 47 院校、專(zhuān)業(yè)報(bào)表 界面 5. 設(shè)定 界面 界面如圖 48 所示, 在左側(cè)的選項(xiàng)卡界面可 設(shè)定校區(qū),各校區(qū)下設(shè)不同課程類(lèi)別,不同的課程類(lèi)別下再設(shè)定不同班次,每一班次中還需設(shè)定班次名稱(chēng),默認(rèn)價(jià)格及開(kāi)課日期。 圖 48 設(shè)定 界面 輸入設(shè)計(jì) 一方面由于本系統(tǒng)在學(xué)生報(bào)名時(shí),由于學(xué)生、 班級(jí)信息的特異性,如學(xué)生姓名、學(xué)生聯(lián)系方式、班級(jí)名稱(chēng)等信息,充分考慮到不同用戶(hù)的需求,采用了鍵盤(pán)輸入方式;另一方面由于下拉列表框無(wú)法滿(mǎn)足需要時(shí),允許用戶(hù)鍵盤(pán)輸入,保證了信息的準(zhǔn)確性。 輸出設(shè)計(jì): 輸出設(shè)計(jì)主要是包括 按日、 月、年報(bào)表 進(jìn)行分類(lèi)的 教區(qū)班級(jí)報(bào)表、學(xué)校校區(qū)報(bào)表、等的顯示和打印。如圖 49所示,界面設(shè)計(jì)上端是條件查詢(xún),下端是數(shù)據(jù)顯示控件供用戶(hù)瀏覽統(tǒng)計(jì)信息。 圖 49 報(bào)表界面 程序過(guò)程設(shè)計(jì): 程序流程圖可以直觀的顯示系統(tǒng)的流程,在設(shè)計(jì)出程序的整體全局結(jié)構(gòu)后,再對(duì)程序的流程加以控制,使系統(tǒng)的流程符合實(shí)際,對(duì)程序的開(kāi)發(fā)有極大的幫助。 選擇要實(shí)現(xiàn)的功能開(kāi)始提示錯(cuò)誤 , 要求重新輸入報(bào)名登陸NY轉(zhuǎn)班 退費(fèi) 插班 修改延班結(jié)束用戶(hù)庫(kù)用戶(hù)庫(kù)學(xué)生庫(kù)驗(yàn)證用戶(hù)名和密碼是否正確報(bào)表設(shè)定 圖 410 總體程序流程 圖 第五章 系統(tǒng)實(shí)施 系統(tǒng)實(shí)施 在單機(jī)結(jié)構(gòu)中,表示、業(yè)務(wù)邏輯層與數(shù)據(jù)源層都位于同一個(gè)軟件、同一部計(jì)算機(jī)中。 軟件環(huán)境: windows 98/2020/XP、 Access 98/2020 及以上版本、 Excel 98/2020及其以上版本。 系統(tǒng)測(cè)試 測(cè)試就是要在計(jì)算機(jī)上按照系統(tǒng)設(shè)計(jì)的要求,以各 種可能的數(shù)據(jù)和操作條件對(duì)新開(kāi)發(fā)實(shí)現(xiàn)的系統(tǒng)進(jìn)行試驗(yàn),找出系統(tǒng)內(nèi)部存在的問(wèn)題加以修改,是其真正達(dá)到設(shè)計(jì)要求。語(yǔ)法錯(cuò)誤是指進(jìn)行語(yǔ)法檢查過(guò)程中發(fā)現(xiàn)的錯(cuò)誤,如典型的分號(hào)寫(xiě)成冒號(hào),使用未定義的變量等;運(yùn)行錯(cuò)誤是指程序運(yùn)行后出現(xiàn)的錯(cuò)誤,如典型的除數(shù)為零,數(shù)組越界等;邏輯錯(cuò)誤是指在編寫(xiě)代碼過(guò)程中考慮不周到造成的錯(cuò)誤。在每個(gè)階段結(jié)束之前通嚴(yán)格的技術(shù)審查 ,盡可能早的發(fā)現(xiàn)所有差錯(cuò)。運(yùn)行調(diào)試的目的就是在軟件投入生產(chǎn)性運(yùn)行之前,盡可能多地發(fā)現(xiàn)軟件中的錯(cuò)誤。軟件設(shè)計(jì)過(guò)程中進(jìn)行了白盒測(cè)試,軟件完成時(shí),進(jìn)行了黑盒測(cè)試。測(cè)試結(jié)果:通過(guò)。測(cè)試結(jié)果:通過(guò)。測(cè)試結(jié)果:通過(guò)。測(cè)試結(jié)果:通過(guò)。測(cè)試結(jié)果:通過(guò)。測(cè)試結(jié)果:通過(guò)。測(cè)試結(jié)果:通過(guò)。 第六章 結(jié)論 這次的畢業(yè)設(shè)計(jì)完成了原定的任務(wù),用 C實(shí)現(xiàn) 了培訓(xùn)管理信息系統(tǒng)。 該系統(tǒng) 具備聯(lián)網(wǎng)的功能 : 客戶(hù)端 能夠與服務(wù)器端 實(shí)現(xiàn)通信,以保證 多個(gè)客戶(hù)端能夠同時(shí)訪(fǎng)問(wèn)服務(wù)器, 隨時(shí)隨地的 進(jìn)行數(shù)據(jù)添加、訪(fǎng)問(wèn)、修改等功能。 特別是 這次我對(duì)培訓(xùn)管理信息系統(tǒng)進(jìn)行了完整的前臺(tái)和后臺(tái)設(shè)計(jì), 增強(qiáng)了自己在程序設(shè)計(jì)方面的信心和動(dòng)手 實(shí)踐能力,這些對(duì)于未來(lái)的工作無(wú)疑將是一筆寶貴的財(cái)富 。 他對(duì)我十分的負(fù)責(zé),從開(kāi)始的選題到編程資料再到論文的修改,他都為我想的十分周到。不僅如此每個(gè)星期都會(huì)對(duì)我進(jìn)行指導(dǎo),時(shí)時(shí)關(guān)心我的畢業(yè)設(shè)計(jì)的進(jìn)度,經(jīng)常與我聯(lián)系。本次設(shè)計(jì)的成果與于老師的幫助是分不開(kāi)的。 When I was quite small I would sometimes dream of a city — which was strange because it began before I even knew what a city was. But this city, clustered on the curve of a big blue bay, would e into my mind. I could see the streets, and the buildings that lined them, the waterfront, even boats in the harbour。 and sometimes there were things in the sky, shiny fishshaped things that certainly were not birds. Most often I would see this wonderful place by daylight, but occasionally it was by night when the lights lay like strings of glowworms along the shore, and a few of them seemed to be sparks drifting on the water, or in the air. It was a beautiful, fascinating place, and once, when I was still young enough to know no better, I asked my eldest sister, Mary, wher e this lovely city could be. She shook her head, and told me that there was no such place — not now. But, perhaps, she suggested, I could somehow be dreaming about times long ago. Dreams were funny things, and there was no accounting for them。 as it had been before God sent Tribulation. But after that she went on to warn me very seriously not to mention it to anyone else。 just a part of the world, and no more to be wondered at than the river, the sky, or the hills themselves. I had often gone along the top of it, but seldom explored on the farther side. For some reason I regarded the country there a s foreign — not so much hostile, as outside my territory. But there was a place I had discovered where the rain, in running dow n the far side of the bank, had worn a sandy gully. If one sa t in the start of that and gave a good push off, one could go swishing down at a fine speed, and finally fly a few feet through the air to land in a pile of soft sand at the bottom. I must have been there half a dozen times before, and there had never been anyone about, but on this occasion, when I was pic king myself up after my third descent and preparing for a fourth, a voice said: 39。 I looked round. At first I could not tell where it came from。Hallo,39。 the ant lion at the bottom angrily flung it out aga in. For a moment there was quiet. T hen the entire pit, and a square meter of sand around it, shifted drunkenly while two coconut palms bent to watch. The sand rose, pivoting at one edge, and the scarred head of a boy appeareda stubble of brow n hair threatened to erase the marks of the sutures。s had bee