【正文】
t. want to drop from the car to the ground. He sincerely believed that he would shatter like glass. So the guards helped him down, cooing still. T hey set him down facing the train. I t was such a dinky train now. There was a lootive, a tender, and three little boxcars. The last boxcar was the railroad guards39。s car owlishly, cooed calmingly. They had never dealt w ith Americans before, but they surely understood this general sort of freight. They knew that it was esse ntially a liquid which could be induced to flow slowly toward cooing and light. It was nighttime. The only light outside came from a single bulb which hung from a polehigh and far away. All was quiet outside, except for the guards, who cooed like doves. And the liquid began to flow. Gobs of it built up in the doorway, plopped to the ground. Billy was the nexttolast human being to reach the door. The hobo was the last. The hobo could not flow, could not plop. He wasn39。 Listen on the tenth night the peg was pulled out of the hasp on Billy39。s room. Her drawers were dumped. her closet was empty. Heaped in the middle of the room were all the possessions she could not take on a honeymoon. She had a Princess telephone extension all her ownon her windowsill Its tiny night light stared at Billy. And then it rang. Billy answered. There was a drunk on the other end. Bi 39。s partners in the New Holiday Inn. There was a full moon. Billy got out of bed in the moonlight. He felt spooky and luminous felt as though he were wrapped in cool fur that was full of static electricity. He looked down at his bare feet. They were ivory and blue. Billy now shuffled down his upstairs hallway, knowing he was about to be kidnapped by a flying saucer. The hallway was zebra striped with darkness and moonlight. The moonlight came into the hallway through doorways of the empty rooms of Billy39。 t need to be jiggled to sleep. Valencia was snoring like a bandsaw. T he poor woman didn39。 網(wǎng)址: This boothwn outside, each car became a single anism which ate and drank and excreted through its ventilators. It talked or sometim es yelled through its ventilators, too. In went water and loaves of blackbread and sausage and cheese, and out came shit and piss and language. Human beings in there were excreting into steel helmets, which were passed to the people at the ventilators, who dumped them. Billy was a dumper. The human beings also passed canteens, which guards would fill with water. When food came in, the human beings were quiet and trusting and beautiful. They shared. Human beings in there took turns standing or lying down. The legs of those who stood were like fence posts driven into a warm ., squirming, fatting, sighing earth. The queer earth was a mosaic of sleepers who nestled like spoons. Now the train began to creep eastward. Somewhere in there was Christmas. Billy Pilgrim nestled like a spoon with the hobo on Christmas night, and he fell asleep, and he traveled in time to 1967 againto the night he was kidnapped by a flying saucer from Tralfamadore. Four Billy Pilgrim could not sleep on his daughters wedding night. He was forty four. The wedding had taken place that afternoon in a gaily striped tent in Billy39。 網(wǎng)址: 4. William (美 ) 編著,<< Visula Basic 和 SQL Server 編程指南>>第五版。 總之,通過這次的鍛練,讓我從中學(xué)習(xí)到很多以前沒有學(xué)到的知識,而且明白了很多的道理,在這里我要再一次的感謝金華老師,她對我的幫助和在她身上學(xué)到的知識,使我對走向工作崗位充滿信心。逐漸形成好的學(xué)習(xí)習(xí)慣以利于自己的工作和學(xué)習(xí)。在課題調(diào)研階段由于沒有重視這一問題,只是大量地閱讀文章,沒有將一些對這次畢業(yè)設(shè)計(jì)有價(jià)值的文章進(jìn)行摘錄整理,只是憑自己的記憶進(jìn)行了一些簡單的歸納,這樣當(dāng)我閱讀量達(dá)到一定程度時(shí)就沒有辦法進(jìn)行整理了,結(jié)果在論文的設(shè)計(jì)時(shí)雖然知道在哪些地方需要什么樣子的文章進(jìn)行參考,自己也記得曾看過這樣的文章,但是卻記不清楚在哪本書里的什么地方,只好重新翻書進(jìn)行查找,浪費(fèi)了許多寶貴的時(shí)間。 在設(shè)計(jì)過程中,對于我來說,由于很多都是新知識,這就迫使我到處查閱相關(guān)資料,學(xué)習(xí)新知識,從而培養(yǎng)了獨(dú)立思考 解決問題的能力。在此期間我們遇到了許多困難,但經(jīng)過我們反復(fù)的查閱資料和不斷調(diào)試下,這些難題還是終究被我們一一克服了,如何訪問數(shù)據(jù)庫之類的,在這場實(shí)踐中我們一起調(diào)研、開發(fā)、調(diào)試,從中我們也得到了團(tuán)隊(duì)開發(fā)的經(jīng)驗(yàn)。 但是,在整個(gè)系統(tǒng)在測試過程發(fā)現(xiàn)了一些錯(cuò)誤,但在老師的指導(dǎo)下改正并完善了達(dá)到了設(shè)計(jì)要求 第六章 體會 整個(gè)程序的編寫已經(jīng)完成,經(jīng)過這次的實(shí)踐讓我們對如何利用 VB 開發(fā)數(shù)據(jù)庫程序有了一個(gè)更深得理解。主要檢驗(yàn)是否能正確實(shí)現(xiàn)每個(gè)功能, 每個(gè)功能時(shí)候按照規(guī)格說明書的要求正常使用,數(shù)據(jù)庫里的記錄是否符合要求,用戶界面是否友好結(jié)果表明,每個(gè)功能都能按照規(guī)格說明書里的要求正常使用且速度達(dá)到了預(yù)期的標(biāo)準(zhǔn)。測試結(jié)果表明,每個(gè)模塊之間的接口都吻合,即被調(diào)用模塊都能正確接受參數(shù),調(diào)用模塊能調(diào)用自己想要調(diào)用的每個(gè)模塊。但是 ,經(jīng)驗(yàn)表明審查并不能發(fā)現(xiàn)所有差錯(cuò) ,此外在編碼過程中還不可避免地會引入新的錯(cuò)誤 .如果在軟件投入運(yùn)行之前 ,沒有發(fā)現(xiàn)并糾正軟件中的大部分差錯(cuò) ,則這些差錯(cuò)遲早會在生產(chǎn)過程中暴 露出來 ,那時(shí)不僅改正這些錯(cuò)誤的代價(jià)更高 ,而且往往會造成很惡劣的后果 .測試的目的就是在軟件投入生產(chǎn)運(yùn)行 模塊測試 采用了白盒測試,即按照程序內(nèi)部的邏輯結(jié)構(gòu),檢驗(yàn)程序中的每條通路是否都按預(yù)定要求正常工作。 如果輸入不存在或者為空,系統(tǒng)會自動(dòng)給出提示信息。 d) 按光盤的名稱查詢界面 在這個(gè)界面中輸入光盤的編號,點(diǎn)擊查詢按鈕系統(tǒng)就會在數(shù)據(jù)庫中光盤信息表 GP1和光盤信息表 GP2中按名稱進(jìn)行檢索如果存在則顯示相對應(yīng)光盤的所有信息,如果輸入不存在或者為空,系統(tǒng)會自動(dòng)給出相應(yīng)的提示信息。如果輸入不存在或者為空,系統(tǒng)會自動(dòng)給出相應(yīng)的提示信息。(只可刪除還回的光盤,對末還回的光盤,只有做完還回操作才能進(jìn)行刪除。 光盤信息表 GP2 的更改: 在這個(gè)界面輸入光盤的編號,點(diǎn)擊確定后,系統(tǒng)就會修改數(shù)據(jù)庫中光盤信息表GP1 中對應(yīng)編號的相應(yīng)信息。 光盤信息表 GP1 的刪除: 第 9頁 在這個(gè)界面中輸入光盤的編號,點(diǎn)擊確定后系統(tǒng)就會對數(shù)據(jù)庫中光盤信息表 GP1中相應(yīng) 的光盤進(jìn)行刪除。點(diǎn)擊確定后把相應(yīng)的信息寫入光盤信息表 GP2 中。 注釋:光盤信息表 GP1 是儲存軟件的表,光盤信息表 GP2 是儲存軟件所有光盤信息的表(例如:某種軟件進(jìn) 5 套,每套有 2 盤,那么在 GP1 表中只寫入一條記錄,在點(diǎn)擊確定后在 GP2 中自動(dòng)生成 5*2 條光盤記錄,當(dāng)輸入完 10 條記錄后,自動(dòng)返回光盤信息表 GP1 的輸入界面。如果刪除成功系統(tǒng)會自動(dòng)給出提示信息,如果刪除的用戶還有末還回的光盤,系統(tǒng)會給出提示。 用戶信息刪除界面 在這個(gè)界面輸入用戶的編號,點(diǎn)擊確定后,將刪除數(shù)據(jù)庫中用戶信息表相應(yīng)編號用戶的所有信息。 用戶信息更改界面: 在這個(gè)界面中輸入用戶的編號點(diǎn)擊確定后,就在用戶信息表中檢索對應(yīng)編號的用戶信息 就可以更改對應(yīng)輸入編號用戶的相應(yīng)信息,更改完點(diǎn)擊更改按鈕,將更改的信息寫入數(shù)據(jù)庫用戶信息表中。并且用 VB 中 DataGrid 來顯示添加的信息,這樣可以使用戶更加清楚自己的操作。用 Toolbar建立快捷方式,使用戶操作起來更簡單。下面將對這個(gè)系統(tǒng)進(jìn)行詳細(xì)描述。 第 6頁 第四章 詳細(xì)設(shè)計(jì) 用戶的界面是應(yīng)用程序的重要部分,是用戶應(yīng)用程序進(jìn)行信息交流的地方,一個(gè)應(yīng)用程序的實(shí)用性不僅僅取決于它的功能,在很大程度上依賴于它的界面,盤號 char 10 Not null √ 借出時(shí)間 datetime 8 Not null 還回時(shí)間 datetime 8 Not null 還回標(biāo)記 char 4 Not null 因?yàn)閷τ脩舳? 言界面就是應(yīng)用程序,用戶感覺不出幕后正在執(zhí)行的代碼。 我開發(fā)的光盤管理系統(tǒng)就是用這兩種數(shù)據(jù)庫連接方法相結(jié)合來實(shí)現(xiàn) 的。這種接口的特點(diǎn)是調(diào)用直接,速度快,并充分發(fā)掘了特定數(shù)據(jù)庫的特色。 由于 ODBC 是通用的數(shù)據(jù)庫接口,調(diào)用層次多,因此通過這種接口操作數(shù)據(jù)庫的效率很底。 ODBC 允許單個(gè)應(yīng) 用存取多個(gè)不同的數(shù)據(jù)庫管理系統(tǒng),這使得應(yīng)用開發(fā)者可以開發(fā),編輯和發(fā)行應(yīng)用而不管它操作的數(shù)據(jù)庫管理系統(tǒng)( DBMS)是什么。ODBC 是微軟公司 WOSA 的組成部分,是微軟公司提出的開放式數(shù)據(jù)庫互連標(biāo)準(zhǔn)接口。 數(shù)據(jù)庫的鏈接 Visual Basic 是專為各種數(shù)據(jù)庫設(shè)計(jì)的客戶端的應(yīng)用開發(fā)工具,它可以和其它數(shù)據(jù)庫服務(wù)器構(gòu)成客戶 /服務(wù)器體系結(jié)構(gòu)。(每次有一張新的光盤登記時(shí),系統(tǒng)會自動(dòng)生成光盤盤號,即每次自動(dòng)加 1)。在這個(gè)表中實(shí)現(xiàn)的操作是對每種光盤信息的添加、更改、刪除、查詢 ( 3)光盤信息表 GP2 第 5頁 注釋:光盤信息表 GP2 除:盤名、順序號、