【正文】
productlist 表中按 Product_Id 排序來(lái)查找產(chǎn)品 Set rs_order = (sql_product)?將查詢結(jié)果賦給 rs_order end if BranchID=0022 CoNo=000040 39。month(date),2) dd=right(00amp。 mm amp。生成訂單號(hào)所有所需元素 ,格式為:小時(shí),分鐘,秒 xiaoshi=right(00amp。minute(time),2) miao=right(00amp。產(chǎn)生外部和內(nèi)部定單號(hào) BillNo=xiaoshi amp。 miao 第 14 頁(yè) 共 22 頁(yè) inBillNo=yy amp。 dd amp。 xiaoshi amp。 miao Set rsadd=()?創(chuàng)建名為 rsadd 的 recordset 對(duì)象 select * from OrderList ,conn,1,3?打開從 OrderList 查詢返回的記錄 Set rsdetail=()?創(chuàng)建名為 rsdetail 的 recordset 對(duì)象 select * from OrderDetail ,conn,1,3?打開從 OrderDetail 查詢返回的記錄 39。 39。把購(gòu)買的產(chǎn)品資料讀出來(lái),寫入定單詳細(xì)資料表中 ?使用 AddNew 方法添加新的記錄 rsdetail(UserName)=UserName 39。訂單號(hào)碼 rsdetail(Product_Id)=rs_order(Product_Id) 39。事務(wù)操作結(jié)束 39。購(gòu)物車如下圖 56 所示: 圖 56 購(gòu)物車 查看購(gòu)物車,可以查看購(gòu)買的書,總價(jià)等,還可以更新數(shù)量,如果 用戶想進(jìn)行支付就點(diǎn)擊開始支付,如果想繼續(xù)購(gòu)買書,點(diǎn)擊繼續(xù)購(gòu)買,關(guān)閉當(dāng)前頁(yè)面,進(jìn)入書的展示頁(yè)面。效果圖 如下圖 511 所示 ; 圖 511 添加大類 實(shí)現(xiàn)代碼如下所示: % dim Action,BigClassName,EnBigClassName,rs,FoundErr,ErrMsg?定義變量 Action=trim(Request(Action))?去除兩邊的空格 BigClassName=trim(request(BigClassName))?去除兩邊的空格 EnBigClassName=trim(request(EnBigClassName)) if Action=Add then?當(dāng)前動(dòng)作為添加 if BigClassName= then?如果大類名稱為空 FoundErr=True ErrMsg=ErrMsg amp。 amp。 39。 brli產(chǎn)品大類 “ amp。 ”已經(jīng)存在!第 18 頁(yè) 共 22 頁(yè) /li else ?添加新的記錄 rs(BigClassName)=BigClassName rs(EnBigClassName)=EnBigClassName ?更新數(shù)據(jù)集 ?關(guān)閉數(shù)據(jù)集 set rs=Nothing call CloseConn()?關(guān)閉數(shù)據(jù)庫(kù)連接 ?重新定向到 end if end if end if if FoundErr=True then call WriteErrMsg() else % script language=JavaScript type=text/JavaScript function checkBig()//checkBig()函數(shù) { if (==)//大類名稱為空 { alert(大類名稱不能為空! )。//聚焦到 BigClassName return false。界面如下 圖 513 所示 : 圖 513 添加新書 管理員管理訂單,管理員可以查看訂單處理情況,并對(duì)未處理的訂單進(jìn)行處理操作,當(dāng)然也可以刪除此訂單。 界面如下圖 515所示: 圖 515 注冊(cè)會(huì)員管理 6 系統(tǒng)測(cè)試 系統(tǒng)測(cè)試 環(huán)境 本系統(tǒng)測(cè)試環(huán)境 : CPU PIII800 ,內(nèi)存 SDRAM 128M, ACCESS 2021,WIN2021/XP,2021 下均測(cè)試通過(guò) .建議用戶 CPU PIII,內(nèi)存 256M 及以上,數(shù)據(jù)庫(kù)版本 ACCESS 2021, WIN2021PRO/XP, 2021, WIN2021 SERVER 及以上軟硬件平臺(tái)使用 . 系統(tǒng)測(cè)試結(jié)果 系統(tǒng)完成后,注冊(cè)了用戶名為 rendagongfei 進(jìn)行測(cè)試,包括會(huì)員管理,修改自己 的資料,修改自己的密碼等。繼而對(duì)后臺(tái)管理員管理模塊進(jìn)行測(cè)試,包括系統(tǒng)管理,新書分 類,可以分為大類和小類,管理員可以添加新書,并對(duì)已經(jīng)存在的書進(jìn)行管理,包括刪除等。第 20 頁(yè) 共 22 頁(yè) 經(jīng)過(guò)測(cè)試后發(fā)現(xiàn)需求中的基本功能都可以實(shí)現(xiàn)。經(jīng)過(guò)了細(xì)心的調(diào)試和排錯(cuò)解決了絕大部分的問(wèn)題。就我所做的模塊來(lái)說(shuō),我對(duì) ASP 中的注冊(cè)模塊,查詢模塊 ,刪除模塊等技術(shù)有了更進(jìn)一步的認(rèn)識(shí) 。我現(xiàn)在已經(jīng)做出的是一些簡(jiǎn)單基本功能的實(shí)現(xiàn),實(shí)現(xiàn)了一個(gè)網(wǎng)上書店應(yīng)有的基本功能,還有一些在網(wǎng)上書店中應(yīng)有的功能(如何實(shí)現(xiàn)網(wǎng)上支付等)沒(méi)有能實(shí)現(xiàn),離一個(gè)完全意義上的網(wǎng)上書店還有一段的距離: ( 1)書店的 界面 美工技術(shù)還需加強(qiáng)。 ( 3)上傳新書較少,新書分類較雜。如果能繼續(xù)完善系統(tǒng)的訂單, 在線支付等問(wèn)題,那么本系統(tǒng)可以用作網(wǎng)上開店,相信會(huì)比較有人氣的書店。 [2] 精英科技 .ASP核心技術(shù) [M].北京:中國(guó)電力出版社 ,2021。 [4] 吉根林 .Web程序設(shè)計(jì) [M].北京:電子工業(yè)出版社 ,2021。 [6] 趙增敏 .ASP動(dòng)態(tài)網(wǎng)頁(yè)設(shè)計(jì) [M].北京: 電子工業(yè)出版社 , 2021。 [8] 清漢計(jì)算機(jī)工作室 .ASP開發(fā)實(shí)例 [M].北京: 機(jī)械工業(yè)出版社 , 2021。文中除了特別加以標(biāo)注地方外,不包含他人已經(jīng)發(fā)表或撰寫過(guò)的研究成果,也不包含為獲得成都信息工程學(xué)院或其他教學(xué)機(jī)構(gòu)的學(xué)位或證書而使用過(guò)的材料。 關(guān)于學(xué)位論文使用權(quán)和研究成果知識(shí)產(chǎn)權(quán)的說(shuō)明: 本人完全了解成都信息工程學(xué)院有關(guān)保管使用學(xué)位論文的規(guī)定,其中包括: ( 1)學(xué)校有權(quán)保管并向有關(guān)部門遞交學(xué)位論文的原件與復(fù)印件。 ( 3)學(xué)??梢詫W(xué)術(shù)交流為目的復(fù)制、贈(zèng)送和交換學(xué)位 論文。 ( 5)學(xué)??梢怨紝W(xué)位論文的全部或部分內(nèi)容(保密學(xué)位論文在解密后遵守此規(guī)定)。 特此聲明! 作者簽名: 年 月 日 第 23 頁(yè) 共 22 頁(yè) Are you hungry now? No, I am tired and lazy now。 words, realizing that they were a signal, he turned and began to run, splashing through the shallow water. Ignacio ran after him, much helped by his longer legs, his hair flying behind his dark young face, his square teetheach white as a bone and as big as Nicholas39。t run, N icholas, Dr. Island said with the voice of a wave. It only makes him angry that you run. N icholas 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 the boles of the hardwoods, where he leaned,.。 . sound in an atmosphere silent and unwa ked as Earth39。 there was none. He drew a deep breath then and said, Well, that39。 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, hor izontal distortions of their objects. He felt no hunger, but he had fasted be39。 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 had killed。 he remembered his effort to open a coconuthe 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。s head。 had Dr. Island used that sound to speak to him? He walked 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。t mistaken after all, was I? I didn39。s Nicholas, and I called you. Then I thought I might be wrong, or that it might be Ignacio. Ignacio was chasing me. Maybe he still is, but h think he39。s 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。s emptie than it used to be. Where Ignacio was, there would have been Red Indian hunters two or three hundred years ago。t anyone,` just the machines. Now he doesn39。t want anyone around him. Nicholas said slowly, Dr. Island said lots of people wouldn39。t other people around all the time . Remember that? a Only there. are other people around all the time。s how the world is. Not in Brazil,