網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)論文_第1頁
網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)論文_第2頁
網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)論文_第3頁
網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)論文_第4頁
網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)論文_第5頁
已閱讀5頁,還剩30頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、畢畢 業(yè)業(yè) 設(shè)設(shè) 計(jì)計(jì)( 論論 文文) 網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 論文作者姓名:論文作者姓名: 申請學(xué)位專業(yè):申請學(xué)位專業(yè): 申請學(xué)位類別:申請學(xué)位類別: 指指導(dǎo)導(dǎo)教教師師姓姓名名(職職稱稱) : 論文提交日期:論文提交日期: 網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)網(wǎng)絡(luò)求職招聘系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 摘摘 要要 隨著網(wǎng)絡(luò)信息技術(shù)的發(fā)展,網(wǎng)絡(luò)在人們生活中的應(yīng)用越來越廣泛,網(wǎng)絡(luò)求 職招聘方式已經(jīng)成為了求職招聘的一大重要手段。通過它應(yīng)聘者和招聘企業(yè)可 以通過 internet,突破時(shí)間和空間的限制,而實(shí)現(xiàn)應(yīng)聘者的工作求職和企業(yè)的 人才招聘。本文所開發(fā)的網(wǎng)絡(luò)求職招聘系統(tǒng)主要包括個人求職

2、管理、企業(yè)招聘 管理和系統(tǒng)管理三個部分。個人用戶可以在主頁方便地瀏覽查詢招聘企業(yè)信息、 招聘職位并發(fā)送應(yīng)聘簡歷;企業(yè)用戶可以方便地查找人才信息及個人簡歷;管 理員則通過后臺來實(shí)現(xiàn)對所有用戶信息、簡歷、公司信息、企業(yè)招聘職位的管 理。 本文主要介紹了 asp,數(shù)據(jù)庫等相關(guān)知識,同時(shí)較為詳盡的闡述了網(wǎng)絡(luò)求 職招聘系統(tǒng)的實(shí)現(xiàn)。本系統(tǒng)是使用 asp 編程技術(shù)開發(fā),并以 iis 為 web 服務(wù)平 臺實(shí)現(xiàn)網(wǎng)絡(luò)求職招聘系統(tǒng)的構(gòu)建。后臺數(shù)據(jù)庫選用的是 access,利用 asp 動態(tài) 網(wǎng)頁編程技術(shù),通過 ado 與 access 數(shù)據(jù)庫建立連接,并且運(yùn)用 sql 語言實(shí)現(xiàn)對 其數(shù)據(jù)庫的操作。 關(guān)鍵詞關(guān)鍵詞:

3、網(wǎng)絡(luò)求職招聘;asp;access;數(shù)據(jù)庫 the design and implementation of the network job hunting and recruitment system abstract along with the development of the network information technology, network has been applied in peoples lives more and more widely. along with this, the network job hunting and recruitment ha

4、s become an important means to recruit job, with which job seekers can search the job opportunities and the enterprises can recruit clerks through the internet, breaking through time and space limitation. we implemented such a system that includes three modules: personal job seeking management, ente

5、rprise recruiting management and system management. by visiting the home page of our application, job seekers can browse and query the information of the open job opportunities and send their resumes to corresponding enterprises effectively and conveniently. and, on the other hand enterprises can se

6、arch the resumes to find persons who are suitable with their requirements. more over, administrators can maintain the information both of the person and the enterprise. this paper first introduces the asp technology, the database and other the related knowledge. then the implementation of a network

7、job search and recruitment system is introduced in more detail. the system is developed with asp programming technology, which runs on iis server. microsoft access was chosen as the backstage database. asp pages connect to access by ado, in which sql language is used to issue database operations. ke

8、y words: network job hunting and recruitment; access; asp; network databases 目目 錄錄 論文總頁數(shù):23 頁 1引言.1 1.1課題背景.1 1.2研究現(xiàn)狀.2 1.3課題研究意義.2 2系統(tǒng)開發(fā)技術(shù)簡介.3 2.1asp 簡介.3 2.2asp 內(nèi)置對象.3 2.3javascript 語言概述.4 2.4數(shù)據(jù)庫訪問技術(shù).4 2.5數(shù)據(jù)庫的連接.5 3系統(tǒng)設(shè)計(jì)分析.6 3.1功能需求分析.6 3.2系統(tǒng)功能分析.6 3.2.1用戶功能.7 3.2.2管理員功能.7 3.3系統(tǒng)流程圖.8 3.4數(shù)據(jù)庫設(shè)計(jì).9 3.4

9、.1數(shù)據(jù)庫的需求分析.9 3.4.2數(shù)據(jù)庫概念結(jié)構(gòu)設(shè)計(jì)實(shí)體圖.9 4詳細(xì)設(shè)計(jì)與實(shí)現(xiàn).11 4.1用戶功能模塊.11 4.1.1用戶注冊.11 4.1.2發(fā)布招聘信息.13 4.1.3職位搜索.14 4.1.4發(fā)送站內(nèi)信息.15 4.2管理員功能.16 5開發(fā)難點(diǎn)與解決辦法.20 結(jié) 論.21 參考文獻(xiàn).21 致 謝.22 聲 明.23 1 1引言引言 隨著信息化技術(shù)的不斷發(fā)展,互聯(lián)網(wǎng)正在融入我們的生活,影響和改變著 我們的生活。網(wǎng)絡(luò)提供給我們的不只是一個獲取信息的來源,而且還是一個可 以相互交流的空間,網(wǎng)絡(luò)在人們生活中的應(yīng)用越來越廣泛。 人才在各行各業(yè)都是發(fā)展的關(guān)鍵,大學(xué)生就像是人才的代名詞,

10、如何能夠 聘到具有真才實(shí)學(xué)的大學(xué)生是各企業(yè)非常關(guān)心的問題。而找不到理想的工作、 不能發(fā)揮自己聰明才智也讓大學(xué)生煩惱,他們踏入社會的第一節(jié)課就是求職。 近年來由于大學(xué)生畢業(yè)后必須面臨艱苦的尋找工作的過程,2000 年以來越來越 多的畢業(yè)生面臨著找工作難的問題。雖然招聘會是目前人才交流的主要途徑之 一,但是它還遠(yuǎn)遠(yuǎn)不能滿足現(xiàn)實(shí)的需求。招聘會都是在有限的幾天內(nèi)企業(yè)與大 學(xué)生面對面的交流,雖然有的招聘會提前貼出海報(bào)或進(jìn)行其他方式的宣傳,但 還是會有很多的企業(yè)和大學(xué)生錯過,還有一部分人,為了參加招聘會不得不放 棄一些重要的事情。由于參加招聘會的人員繁多,而且整個過程人員的流動性 非常強(qiáng),這給管理增加了很

11、大的難度,并且招聘會人數(shù)眾多,而且展位有限, 想要實(shí)現(xiàn)企業(yè)與學(xué)生一一會面很困難,這樣就不能更好地分配人力資源?,F(xiàn)實(shí) 社會中急需一個第三者為企業(yè)與人才牽線搭橋,來彌補(bǔ)招聘會存在的種種不足。 這次畢業(yè)設(shè)計(jì)的課題就是設(shè)計(jì)開發(fā)一個網(wǎng)絡(luò)求職招聘系統(tǒng),通過網(wǎng)絡(luò)求職 招聘系統(tǒng),求職者就不必在拿著厚厚的簡歷,滿頭大汗的在人才市場中穿梭, 招聘企業(yè)也不需要花費(fèi)大量的人力物力在招聘會上大張旗鼓地?fù)屨颊衅笖偽涣恕?網(wǎng)絡(luò)求職招聘系統(tǒng)為求職者及招聘公司帶來了很大的方便和經(jīng)濟(jì)。 1.11.1 課題背景課題背景 隨著社會和經(jīng)濟(jì)的發(fā)展,各類人才特別是高校畢業(yè)生的大量涌向社會以及 社會各種再就業(yè)人員的大幅度增加,使得就業(yè)壓力越

12、來越大。如何能夠多快好 省的獲得有關(guān)就業(yè)信息,對各位求職人員來說顯得尤為重要;另一方面,企業(yè) 之間關(guān)于優(yōu)秀人才的競爭也在日益加劇,人才流動也變得愈來愈普遍,因此僅 僅通過召開現(xiàn)場人才交流會就很難滿足人才與企業(yè)雙方的要求。而隨著信息化 技術(shù)的不斷發(fā)展,互聯(lián)網(wǎng)正在融入我們的生活,影響和改變著我們的生活。網(wǎng) 絡(luò)提供給我們的不只是一個獲取信息的來源,而且還是一個可以相互交流的平 臺,因此網(wǎng)絡(luò)求職招聘系統(tǒng)的開發(fā)正給廣大的求職者和招聘單位提供了一個可 以雙向交流選擇的平臺,從而有效地解決了人才求職招聘工作效率和效果改進(jìn) 提升中所面臨的問題。 網(wǎng)絡(luò)求職招聘即基于 web 的求職招聘系統(tǒng),是利用包含 www

13、各種特性和資 源的超媒體求職招聘程序來創(chuàng)造一種有意義的求職招聘環(huán)境,在這種求職招聘 環(huán)境中求職招聘得到促進(jìn)和支持。隨著 internet 的普及,網(wǎng)絡(luò)及其應(yīng)用已經(jīng)滲 透到社會的各個領(lǐng)域,并發(fā)揮著越來越重要的作用。網(wǎng)絡(luò)技術(shù)以及現(xiàn)代 web 技術(shù) 的發(fā)展,國家政策的扶持等給網(wǎng)絡(luò)求職招聘帶來了良好的發(fā)展契機(jī)。在這種情 況下,開發(fā)了網(wǎng)絡(luò)求職招聘系統(tǒng)。 1.21.2 研究現(xiàn)狀研究現(xiàn)狀 網(wǎng)絡(luò)求職招聘系統(tǒng)是利用互聯(lián)網(wǎng)技術(shù)進(jìn)行的求職招聘活動,包括招聘信息 和求職信息的發(fā)布、人才簡歷的搜集整理等。中國的網(wǎng)絡(luò)招聘興起于 1997 年, 進(jìn)入二十一世紀(jì)以后,隨著中國互聯(lián)網(wǎng)技術(shù)的不斷提升和電腦網(wǎng)絡(luò)的迅速逐步 普及,網(wǎng)

14、絡(luò)求職招聘在中國得到了飛速發(fā)展。對于時(shí)下大多數(shù)企業(yè)和求職者來 說,網(wǎng)絡(luò)求職招聘的意義已經(jīng)遠(yuǎn)遠(yuǎn)超出了傳統(tǒng)招聘業(yè)務(wù)的局限,它以其費(fèi)用低, 信息量大,操作便捷,招聘效果好,無地域限制且具備遠(yuǎn)程服務(wù)功能等優(yōu)點(diǎn)獲 得了越來越多的求職者和企業(yè)的認(rèn)可,成為一種與傳統(tǒng)求職招聘方式并駕齊驅(qū) 的全新求職招聘模式。 時(shí)代的進(jìn)步賦予了網(wǎng)絡(luò)招聘無限的生機(jī)活力,從網(wǎng)絡(luò)招聘目前的發(fā)展態(tài)勢 來看,網(wǎng)絡(luò)求職招聘越來越受到社會的青睞。據(jù)相關(guān)數(shù)據(jù)顯示,2004 年求職招 聘市場增長了 10%,其中 60%的增長集中在網(wǎng)絡(luò)求職招聘,中國企業(yè)招聘人才 18%會選擇通過網(wǎng)絡(luò)來進(jìn)行,網(wǎng)絡(luò)招聘已經(jīng)逐漸成為中小企業(yè)招聘人才的主要途 徑;有媒體

15、通過采訪發(fā)現(xiàn),如今大學(xué)生在求職時(shí),目光更多地停留在網(wǎng)絡(luò)招聘 信息上,網(wǎng)絡(luò)應(yīng)聘成為這些求職者的首選。 1.31.3 課題研究意義課題研究意義 隨著社會的進(jìn)步和技術(shù)的發(fā)展,知識正在發(fā)揮著越來越大的作用,市場的 競爭在很大程度上體現(xiàn)為人才的競爭。從而,找到合適的人才成為企業(yè)提高競 爭力的一項(xiàng)關(guān)鍵任務(wù)。而近年來由于找不到理想的工作、不能發(fā)揮自己聰明才 智也讓許多求職者煩惱。 隨著網(wǎng)絡(luò)信息的發(fā)展,網(wǎng)絡(luò)在人們生活中的應(yīng)用越來越廣泛。網(wǎng)絡(luò)求職招 聘系統(tǒng)可以使個人或企業(yè)足不出戶便能知道全國的企業(yè)或個人的招聘求職信息, 并可以進(jìn)行簡單的信息交流,突破時(shí)間和空間的限制而實(shí)現(xiàn)工作求職和人才的 招聘。通過網(wǎng)絡(luò)求職招聘

16、系統(tǒng),求職者可以輕松地對工作類別、地區(qū)和需求等 條件進(jìn)行全方位查詢,當(dāng)查詢到合適的招聘職位后還可以直接通過網(wǎng)絡(luò)把簡歷 提交給招聘單位,很大程度上節(jié)省了求職者的時(shí)間;對招聘單位來說,求職招 聘系統(tǒng)也為他們提供了瀏覽、查詢應(yīng)聘者信息庫的條件,使招聘工作中的人員 初選工作變得輕松易行。此系統(tǒng)的開發(fā)為求職者及招聘公司帶來了很大的方便 和經(jīng)濟(jì),使他們足不出戶就可以輕輕松松地完成求職和招聘工作。網(wǎng)絡(luò)求職招 聘系統(tǒng)較之傳統(tǒng)的求職招聘具有招聘范圍廣,信息量大,可挑選余地大,應(yīng)聘 人員素質(zhì)高,招聘效果好,費(fèi)用低等優(yōu)點(diǎn)。 2 2系統(tǒng)開發(fā)技術(shù)簡介系統(tǒng)開發(fā)技術(shù)簡介 2.12.1 aspasp 簡介簡介 asp全名為(

17、active server pages),它是微軟公司推出iis的一個組件, asp實(shí)際是一種在服務(wù)器端開發(fā)腳本語言的環(huán)境。利用它可以開發(fā)出動態(tài)、交互、 高性能web服務(wù)器端的應(yīng)用,且能較容易實(shí)現(xiàn)復(fù)雜的web應(yīng)用。利用asp開發(fā)的腳 本程序全部運(yùn)行在服務(wù)器端,與用戶所采用的瀏覽器無關(guān),從而極大地減少了 對客戶端的要求。 asp的工作原理:asp通過后綴名為asp的文件來實(shí)現(xiàn),一個asp文件相當(dāng)于 一個可執(zhí)行文件,因此必須放在web服務(wù)器上有可執(zhí)行權(quán)限的目錄下。當(dāng)瀏覽器 向web服務(wù)器請求調(diào)用asp文件時(shí),就啟動了asp。web服務(wù)器響應(yīng)該http請求, 調(diào)用asp引擎,解釋被申請的文件。當(dāng)遇到

18、與activex script兼容的腳本 (vbscript、javascript)時(shí),asp引擎調(diào)用相應(yīng)的腳本引擎進(jìn)行解釋處理。若 腳本指令中涉及到對數(shù)據(jù)庫的訪問,就通過odbc與后臺數(shù)據(jù)庫進(jìn)行連接,由數(shù) 據(jù)庫訪問組件實(shí)現(xiàn)對數(shù)據(jù)庫的操作,并將執(zhí)行的結(jié)果動態(tài)生成一個html頁面返 回到web服務(wù)器端,然后與頁面中的非腳本的html合并成一個完整的html頁面送 至客戶端瀏覽器。因而客戶端瀏覽器接收到的時(shí)候經(jīng)web服務(wù)器執(zhí)行以后生成的 一個純粹的html文件,可被運(yùn)行在任何平臺上的瀏覽器所執(zhí)行。 asp文件通常由以下四部分構(gòu)成: 標(biāo)準(zhǔn)的html標(biāo)記:所有的html標(biāo)記均可使用。 服務(wù)器端的inc

19、lude語句:可用#include語句調(diào)入其它asp代碼,增強(qiáng)了編 程的靈活性。 asp語法命令:位于 標(biāo)簽內(nèi)的asp代碼。 腳本語言:asp自帶javascript 和vbscript兩種腳本語言,增加了asp的 編程功能,用戶也可安裝其它腳本語言,如perl、rexx等。 2.22.2 aspasp 內(nèi)置對象內(nèi)置對象 asp 提供了五個內(nèi)建對象,供用戶直接調(diào)用,每個對象具有各自的屬性 (property) 、方法(method) ,有的還擁有數(shù)據(jù)集合(collection)與事件 (event) ,它們共同完成 web 中的一些重要工作。 request對象:從瀏覽器端取得信息傳遞給服務(wù)器

20、,是asp讀取用戶輸入 的主要方法; response 對象:用來決定何時(shí)或如何將輸出由服務(wù)器端傳送至瀏覽器端; server 對象:提供對服務(wù)器最基本的方法和屬性的訪問; session 對象:存貯特定用戶的會話信息,只被該用戶訪問,當(dāng)用戶在 不同 web 頁面跳轉(zhuǎn)時(shí),session 中的變量在用戶整個會話過程中一直保存。 session 對象需要 cookie 支持; application 對象: 紀(jì)錄不同瀏覽器端共享的變量。無論有幾個瀏覽者 同時(shí)存取網(wǎng)頁,都只會產(chǎn)生一個 application 對象的案例。 2.32.3 javascriptjavascript 語言概述語言概述 ja

21、vascript 是一種基于對象(object)和事件驅(qū)動(event driven)并具有安 全性能的腳本語言。使用它的目的是與 html 超文本標(biāo)記語言、java 腳本語言 (java 小程序)一起實(shí)現(xiàn)在一個 web 頁面中鏈接多個對象,與 web 客戶交互作 用。從而可以開發(fā)客戶端的應(yīng)用程序等。javascript 是通過嵌入或調(diào)入在標(biāo)準(zhǔn) 的 html 語言中實(shí)現(xiàn)的。javascript 語言可以做到回應(yīng)使用者的需求事件(如: form 的輸入),而不用任何的網(wǎng)路來回傳輸資料,所以當(dāng)一位使用者輸入一項(xiàng) 資料時(shí),它不用經(jīng)過傳給服務(wù)器端處理,再傳回來的過程,而直接可以被客戶 端的應(yīng)用程式所處

22、理。 javascript 中的對象是由屬性(properties)和方法(methods)兩個基本的 元素的構(gòu)成的。前者是對象在實(shí)施其所需要行為的過程中,實(shí)現(xiàn)信息的裝載單 位,從而與變量相關(guān)聯(lián);后者是指對象能夠按照設(shè)計(jì)者的意圖而被執(zhí)行,從而 與特定的函數(shù)相聯(lián)。 一個對象要真正地被使用,可采用以下幾種方式獲得: 引用 javascript 內(nèi)部對象; 由瀏覽器環(huán)境中提供; 創(chuàng)建新對象。 這就是說一個對象在被引用之前,這個對象必須存在,否則引用將毫無意 義,而出現(xiàn)錯誤信息。從上面中我們可以看出 javascript 引用對象可通過三種 方式獲取,要么創(chuàng)建新的對象,要么利用現(xiàn)存的對象。 在 jav

23、ascript 中對于對象屬性與方法的引用,有兩種情況:其一是該對象 是靜態(tài)對象,即在引用該對象的屬性或方法時(shí)不需要為它創(chuàng)建實(shí)例;而另一種 對象則在引用它的對象或方法是必須為它創(chuàng)建一個實(shí)例,即該對象是動態(tài)對象。 javascript 提供了一些非常有用的常用內(nèi)部對象和方法。用戶不需要用腳 本來實(shí)現(xiàn)這些功能。javascript 提供了 string(字符串) 、math(數(shù)值計(jì)算) 和 date(日期)三種對象和其它一些相關(guān)的方法,從而為編程人員快速開發(fā)強(qiáng) 大的腳本程序提供了非常有利的條件。 2.42.4 數(shù)據(jù)庫訪問技術(shù)數(shù)據(jù)庫訪問技術(shù) www 上很重要的應(yīng)用是訪問 web 數(shù)據(jù)庫,用 asp

24、訪問 web 數(shù)據(jù)庫時(shí),必須 使用 ado 組件,ado 是 asp 內(nèi)置的 activex 服務(wù)器組(activex server component),通過在 web 服務(wù)器上設(shè)置 odbc 和 oledb 可連接多種數(shù)據(jù)庫:如 sybase、oracle、informix、sql server、access 等,是對目前微軟所支持的 數(shù)據(jù)庫進(jìn)行操作的最有效和最簡單直接的方法。 odbc(open database connectivity,開放數(shù)據(jù)庫互連)是微軟公司開放服 務(wù)結(jié)構(gòu)(wosa,windows open services architecture)中有關(guān)數(shù)據(jù)庫的一個組 成部分

25、,它建立了一組規(guī)范,并提供了一組對數(shù)據(jù)庫訪問的標(biāo)準(zhǔn) api(應(yīng)用程 序編程接口) ,這些 api 利用 sql 來完成其大部分任務(wù)。odbc 本身也提供了對 sql 語言的支持,用戶可以直接將 sql 語句送給 odbc。 odbc定義了訪問數(shù)據(jù)庫的api一個規(guī)范,一個基于odbc的應(yīng)用程序?qū)?shù)據(jù)庫 的操作不依賴任何dbms,不直接與dbms打交道,所有的數(shù)據(jù)庫操作由對應(yīng)的 dbms的odbc驅(qū)動程序完成。也就是說,不論是sql、access 還是oracle數(shù)據(jù)庫, 均可用odbc api進(jìn)行訪問。 應(yīng)用程序要訪問一個數(shù)據(jù)庫,首先必須用odbc管理器注冊一個數(shù)據(jù)源,管 理器根據(jù)數(shù)據(jù)源提供的數(shù)

26、據(jù)庫位置、數(shù)據(jù)庫類型及odbc驅(qū)動程序等信息,建立 起odbc與具體數(shù)據(jù)庫的聯(lián)系。這樣,只要應(yīng)用程序?qū)?shù)據(jù)源名提供給 odbc,odbc就能建立起與相應(yīng)數(shù)據(jù)庫的連接。在odbc中,odbc api不能直接訪 問數(shù)據(jù)庫,必須通過驅(qū)動程序管理器與數(shù)據(jù)庫交換信息。驅(qū)動程序管理器負(fù)責(zé) 將應(yīng)用程序?qū)dbc api的調(diào)用傳遞給正確的驅(qū)動程序,而驅(qū)動程序在執(zhí)行完相 應(yīng)的操作后,將結(jié)果通過驅(qū)動程序管理器返回給應(yīng)用程序。 2.52.5 數(shù)據(jù)庫的連接數(shù)據(jù)庫的連接 asp 應(yīng)用程序必須通過開放式數(shù)據(jù)庫連接(odbc)驅(qū)動程序(或?qū)ο箧溄樱?和嵌入式數(shù)據(jù)庫(ole db)提供程序連接到數(shù)據(jù)庫。該驅(qū)動程序或提供程序用

27、作 解釋器,能夠使 web 應(yīng)用程序與數(shù)據(jù)庫進(jìn)行通信。 asp 的對象存取數(shù)據(jù)庫方法: 在 asp 中,用來存取數(shù)據(jù)庫的對象統(tǒng)稱 ado(active data objects) ,其 主要含有三種對象:connection、recordset 、command connection:負(fù)責(zé)打開于關(guān)閉數(shù)據(jù)庫連接; recordset:負(fù)責(zé)訪問數(shù)據(jù)表的記錄,包括讀取、插入、刪除和更新數(shù)據(jù) 表的記錄。recordset 提供了 4 種方式打開數(shù)據(jù)庫:數(shù)字 0 表示只讀方 式,且當(dāng)前記錄只能下移;數(shù)字 1 表示可讀寫方式,當(dāng)前記錄可自由上 下移動,但不能及時(shí)看到別的用戶建立的新記錄,除非重新啟動;數(shù)字

28、 2 表示可讀寫方式,當(dāng)前記錄可自由移動,而且可以及時(shí)看到別的用戶 增加的新記錄;數(shù)字 3 表示只讀方式,但當(dāng)前記錄可以自由移動。一般 選擇 2 為好,除非為了禁止數(shù)據(jù)被修改; command:負(fù)責(zé)執(zhí)行查詢并返回條件符合的所有記錄(返回值為 recordset 對象) 。 數(shù)據(jù)庫連接的 asp 程式碼如下: dim conn set conn=server.createobject(adodb.connection) conn.connectionstring=driver=microsoftaccess driver(*.mdb) ;表示使用系統(tǒng)安裝的驅(qū)動 程序,dbq= if i purs

29、ue you i will not catch you, and if i catch you-through your own slowness and clumsiness-i will not kill you, and if i kill you i will not eat you. nicholas had begun to back away, and at the last; words, realizing that they were a signal, he turned and began to run, splashing through the shallow wa

30、ter. ignacio ran after him, much helped by his longer legs, his hair flying behind his dark young face, his square teeth-each white as a bone and as big as nicholass thumbnail-showing like spectators who lined the railings of his lips. dont run, nicholas, dr. island said with the voice of a wave. it

31、 only makes him angry that you run. nicholas did not answer, but cut to his left, up the beach and among the trunks of the palms, sprinting all the way because he had no way of knowing ignacio was not right behind him, about to grab him by the neck. when he stopped it was in the thick jungle, among

32、the boles of the hardwoods, where he leaned,.; out of breath, the thumping of his own heart the only . sound in an atmosphere silent and unwaked as earths long, prehuman day. for a time he listened for any sound ignacio might make searching for him; there was none. he drew a deep breath then and sai

33、d, well, thats over, expecting dr. island to answer from somewhere; there was only the green hush. the light was still bright and strong and nearly, shadowless, but some interior sense told him the day, was nearly over, and he noticed that such faint shades as he could see stretched long, horizontal

34、 distortions of their objects. he felt no hunger, but he had fasted be- fore and knew on which side of hunger he stood; he was not as strong as he had been only a day past, and by this time next day he would probably be unable to outrun ignacio. he should, he now realized, have eaten the monkey he h

35、ad killed; but his stomach revolted at the thought of the raw flesh, and he did not know how he might build a fire, although ignacio seemed to have done so the night before. raw fish, even if he were able to catch a fish, would be as bad, or worse, than raw monkey; he remembered his effort to open a

36、 coconut-he had failed, but it was surely not impossible. his mind was hazy as to what a coconut might contain, but there had to be an edible core, because they were eaten in books. he decided to make a wide sweep through the jungle that would bring him back to the beach well away from ignacio; he h

37、ad several times seen coconuts lying in the sand under the trees. he moved quietly, still a little afraid, trying to think of ways to open the coconut when he found it. he imagined himself standing before a large and raggedly faceted stone, holding the coconut in both hands. he raised it and smashed

38、 it down, but when it struck it was no longer a coconut but mayas head; he heard her nose cartilage break with a distinct, rubbery snap. her eyes, as blue as the sky above madhya pradesh, the sparkling blue sky of the egg, looked up at him, but he could no longer look into them, they retreated from

39、his own, and it came to him quite suddenly that lucifer, in falling, must have fallen up, into the fires and the coldness of space, never again to see the warm blues and browns and greens of earth: 1 was watching satan fall as lightning from heaven. he had heard that on tape somewhere, but he could

40、not remember where. he had read that on earth lightning did not come down from the clouds, but leaped up from the planetary surface toward them, never to return. nicholas. he listened, but did not hear his name again. faintly water was babbling; had dr. island used that sound to speak to him? he wal

41、ked toward it and found a little rill that threaded a way among the trees, and followed it. in a hundred steps it grew broader, slowed, and ended in a long blind pool under a dome of leaves. . diane was sitting on moss on the side opposite him; she looked up as she saw him, and smiled. hello, he sai

42、d. hello, nicholas. i thought i heard you. i wasnt mistaken after all, was i? i didnt think i said anything. he tested the dark water with his foot and found that it was very cold. you gave a little gasp, i fancy. i heard it, and i said to myself, thats nicholas, and i called you. then i thought i m

43、ight be wrong, or that it might be ignacio. ignacio was chasing me. maybe he still is, but h think hes probably given up by now. the girl nodded, looking into the dark waters of they pool, but did not seem to have heard him. he began to work his way around to her, climbing across the snakelike roots

44、 of the crowding trees. why does ignacio want to kill me, diane? sometimes he wants to kill me, too, the girl said. but why? i think hes a bit frightened of us. have you ever talked to him, nicholas? today i did a little. he told me a story about a pet fish he used to have. ignacio grew up all alone

45、; did he tell you that? on= earth. on a plantation in brazil, way up the amazon -dr. island told me. i thought it was crowded on earth. the cities are crowded, and the countryside closes to the cities. but there are places where its emptie than it used to be. where ignacio was, there would have been

46、 red indian hunters two or three hundred years ago; when he was there, there wasnt anyone, just the machines. now he doesnt want to be looked at, doesnt want anyone around him. nicholas said slowly, dr. island said lots of people wouldnt be sick if only there werent other people around all the time.

47、 remember that? a only there. are other people around all the time; thats how the world is. not in brazil, maybe, nicholas said. he was trying to remember something about brazil, but the only thing he could think of was a parrot singing in a straw hat from the comview cartoons; and then a turtle and

48、 a hedgehog that turned into armadillos for the love of god, montressor. he said, why didnt he stay there? did i tell you about the bird, nicholas? she had been not listening again. what bird? i have a bird. inside. she patted the flat stomach below her small breasts, and for a moment, nicholas thou

49、ght she had really found food. she sits in here. she has tangled a nest in my entrails, where she sits and tears at my breath with her beak. i look healthy to you, dont i? but inside im hollow and rotten and turning brown, dirt and old feathers, oozing away. her beak will break through soon. okay. n

50、icholas turned to go. ive been drinking water here, trying to drown her. i think ive swallowed so much i couldnt stand up now if i tried, but she isnt even wet, and do you know something, nicholas? ive found out im not really me, im her. turning back nicholas asked, when was the last time you had an

51、ything to eat? i dont know. two, three days ago. ignacio gave me something. im going to try to open a coconut. if i can ill bring you back some. when he reached the beach, nicholas turned and walked slowly back in the direction of the dead fire, this time along the rim of dampened sand between the s

52、ea and the palms. he was thinking about machines. there were hundreds of thousands, perhaps millions, of machines out beyond the belt, but few or none of the sophisticated servant robots of earth-those were luxuries. would ignacio, in brazil (whatever that was like), have had such luxuries? nicholas

53、 thought not; those robots were almost like people, and living with them would be like living with people. nicholas wished that he could speak brazilian. there had been the therapy robots at st. johns; nicholas had not liked them, and he did not think ignacio would have liked them either. if he had

54、liked his therapy robot he probably would not have had to be sent here. he thought of the chipped and rusted old machine that had cleaned the corridors-maya had called it corradora, but no one else ever called it any- f thing but hey! it could not (or at least did not) speak, 1 and nicholas doubted

55、that it had emotions, except possibly a sort of love of cleanness that did not extend to its own person. you will understand, someone was saying inside his head, that motives of all sorts can be divided into two sorts. a doctor? a therapy robot? it did not matter. extrinsic and intrinsic. an extrins

56、ic motive has always some further end in view, and that end we call an intrinsic motive. thus when we have reduced motivation to intrinsic motivation we have reduced it to its simplest parts. take that machine over there. what machine? freud would have said that it was fixated at the latter anal sta

57、ge, perhaps due to the care its builders exercised in seeing that the dirt it collects is not released again. because of its fixation it is, as you see, obsessed with cleanliness and order; compulsive sweeping and scrubbing palliate its anxieties. it is a strength of freuds theory, and not a weaknes

58、s, that it serves to explain many of the activities of machines as well as the acts of persons. hello there, corradora. and hello, ignacio. my head, moving from side to side, must remind you of a radar scanner. my steps are measured, slow, and precise. 1 emit a scarcely audible humming as 1 walk, an

59、d my eyes are fixed, as 1 swing my head, not on you, ignacio, but on the waves at the edge of sight, where they curve up into the sky. 1 stop ten meters short of you, and 1 stand. you go 1 follow, ten meters behind. what do 1 want? nothing. yes, 1 will pick up the sticks, and 1 will follow-five mete

60、rs behind. break them, and put them on the fire. not all of them, just a few. yes. ignacio keeps the fire here burning all the time. sometimes he takes the coals of fire from it to start others, but here, under the big palm log, he has a fire always. the rain does not strike it here. always the fire

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論