【正文】
eneral to haveall the senses perfect。 in otherplaces novelties are always being introduced in dancing and inmusic, generally not under the authority of any law, but at theinstigation of lawless pleasures。 for our ways are far and away betterthan any which at present exist anywhere in the w orld. Cle. Certainly. Ath. Thus far I too should agree with the many, that theexcellence of music is to be measured by pleasure. But the pleasuremust not be that of chance persons。除非另有說(shuō)明,本文的工作是原始性工作。 [6] 張閱廷,王小科,許文武. [M].北京:人民郵電出版社 ,2021。 當(dāng)然,此系統(tǒng)還有很多需要改進(jìn)的地方,可以讓應(yīng)用程序作些適當(dāng)?shù)男薷?,使之更健壯? } } } 以上只是本系統(tǒng)中類的實(shí)現(xiàn),以及涉及到的頁(yè)面及代碼的實(shí)現(xiàn),由于篇幅有限,因此就不一一多舉了。 } } } private void BindGrid()//創(chuàng)建項(xiàng)目對(duì)象信息,添加一個(gè)招投標(biāo)信息。 表 62 Item類設(shè)計(jì)方案方法的定義和描述 方 法 名 稱 描 述 public string AddBid(Int32 ItemID) 為某個(gè)項(xiàng)目增加一個(gè)競(jìng)標(biāo)信息 public string AddItem(string ItemName,string ItemDesc,Double ItemAsk,Double ItemNotify,Int32 ItemSellerID,DateTime ItemExpDate) 增加一個(gè)項(xiàng)目用于競(jìng)標(biāo) public string AddSale(Int32 ItemID,Int32 BidID) 為某項(xiàng)目添加一次成功的交易記錄 public string CompleteSale(Int32 ItemID,Double WinningBid) 完成某件項(xiàng)目的交易 public string DeleteItem(Int32 ItemID) 刪除某件項(xiàng)目 public SqlDataReader GetBidDetails(Int32 intItemID) 獲取某件項(xiàng)目所有競(jìng)價(jià)的詳細(xì)信息 public string GetHighestBid(Int32 intItemID) 獲得某個(gè)項(xiàng)目的最高競(jìng)價(jià) public SqlDataReader GetMyWinningBids(Int32 intPersonID) 返回某用戶當(dāng)前競(jìng)標(biāo)處于領(lǐng)先地位的所有項(xiàng)目 public string UpdateItem(string strItemID,string strItemName,string strItemDesc,string strAskPrice,string strNotifyPrice) 更新某件項(xiàng)目的信息 public SqlDataReader ViewItems(Int32 ingSellerID) 返回某用戶的項(xiàng)目 public SqlDataReader ViewItemsForSale() 返回所有可以競(jìng)價(jià)的項(xiàng)目 在介紹了該類的方法與頁(yè)面實(shí)現(xiàn)后,下面主要介紹的是該頁(yè)面中核心代碼部分,其代碼如下: private void Page_Load(object sender, e) { if (!) { BindGrid()。 [GivenName].Value = 。 ()。 [GivenName].Value= 。 = true。 = 。 myPersonDetails = new ()。這些屬性分別與數(shù)據(jù)表中的字段相對(duì)應(yīng)。 appSettings add key=ConnectionString Value= Data source=(local)。 本系統(tǒng)的存儲(chǔ)過(guò)程比較多,前面已經(jīng)詳細(xì)介紹各個(gè)存儲(chǔ)過(guò)程的功能,下面將本系統(tǒng)的整個(gè)存儲(chǔ)過(guò)程做簡(jiǎn)要的描述,如下表 57所示。下面是系統(tǒng)數(shù)據(jù)表 51至 56的簡(jiǎn)要描述。 (2)在項(xiàng)目中,包括待招和已交易的項(xiàng)目信息。此模塊提供了項(xiàng)目信息的錄入,編輯等功能。如果需要成為會(huì)員,那么就需要注冊(cè)為本系統(tǒng)的會(huì)員,才能進(jìn)行相關(guān)的服務(wù)操作。 圖 41 系統(tǒng)總體功能結(jié)構(gòu) 在頁(yè)面瀏覽器中第一次進(jìn)入該系統(tǒng),所看到的是默認(rèn)的首頁(yè),在該頁(yè)面中主要包括一個(gè)系統(tǒng)功能簡(jiǎn)介和登錄、注冊(cè)等的鏈接。這樣就大大簡(jiǎn)化了客戶端電腦載荷,減輕了系統(tǒng)維護(hù)與升級(jí)的成本和工作量,降低了用戶的總體成本( TCO)。 SQL數(shù)據(jù)庫(kù)技術(shù) 隨著數(shù)據(jù)庫(kù)技術(shù)的不斷完善,用戶數(shù)據(jù)的不斷積累,用戶的需求也不斷提高,在此之上,更高級(jí)的應(yīng)用應(yīng)運(yùn)而生,這包括已經(jīng)成熟的數(shù)據(jù)倉(cāng)庫(kù)應(yīng)用、廣為接受的商業(yè)智能( BI)應(yīng)用、以及方興未艾的 SOA等。 .NET 的組成 .NET主要由 3個(gè)部分組成,下面分別對(duì)這 3個(gè)部分進(jìn)行簡(jiǎn)單的介紹。當(dāng)投標(biāo)結(jié)束后,根據(jù)一定的機(jī)制注銷投標(biāo)。許多大型項(xiàng)目合同也是通過(guò)招標(biāo)的方式來(lái)實(shí)現(xiàn)的。賣方可以在該系統(tǒng)中發(fā)布自己的廣告,同時(shí)給出自己所希望得到的最底價(jià)格,然后由買方出價(jià)競(jìng)標(biāo),最后到截止日期時(shí)出價(jià)最高者獲得項(xiàng)目。采用 SQL2021的新技術(shù)和新工具,基于 Web方式的招投標(biāo)系統(tǒng)設(shè)計(jì)方法,構(gòu)建了以 B/S為結(jié)構(gòu)的招投標(biāo)系統(tǒng)。 關(guān)鍵詞: 招投標(biāo); 數(shù)據(jù)庫(kù); B/S; The Design and Implementation of Bidding and Tendering System Based on Web Abstract The history of tender and auction is glorious. In nearly 2021 years of development, the people have made the massive discussions to the auction theory and technology. With the development of puter work technology, to improve work efficiency of public bidding and provide guarantee for preventing corruption and clean government, traditional online auction tender to the tender transition. So bidding and tendering technology based on Web bee the development direction of information systems. This paper analyses the current situation and development trend of bidding and tendering technology. An explanation of , SQL database technology, B/S structure was introduced. The general flowchart of the system designing plan and describes the system functions are described. In this paper, the design concept of setting up bidding and tendering system based on Web is presented and attempted by adopting new technology and tools based on and SQL2021, the system architecture of Bidding and Tendering system based on B/S structure is constructed Key words: Bid and Tender。 本系統(tǒng)以保證招投標(biāo)活動(dòng)的公平 、公正和公開的原則,采用競(jìng)爭(zhēng)的手段實(shí)現(xiàn)大宗貨物和服務(wù)的采購(gòu)最優(yōu)化的方式。 隨著網(wǎng)絡(luò)技術(shù)的不斷發(fā)展,招投標(biāo)由原來(lái)手工操作方式逐步轉(zhuǎn)變到Inter 網(wǎng)上進(jìn)行的方式,網(wǎng)上招投標(biāo)系統(tǒng)是指招投標(biāo)過(guò)程中各個(gè)角色,如供應(yīng)商、招標(biāo)機(jī)構(gòu)等連接起來(lái),企業(yè)、機(jī)關(guān)和個(gè)人網(wǎng)上傳遞投標(biāo)數(shù)據(jù),評(píng)標(biāo)、開標(biāo)均采用電子手段,通過(guò)網(wǎng)絡(luò)發(fā)布 中標(biāo)結(jié)果的一種投標(biāo)方式。 因此從 總體來(lái)看,目前世界各國(guó)和有關(guān)國(guó)際組織的有關(guān)采購(gòu)法律、規(guī)則都規(guī)定了公開招 標(biāo)、邀請(qǐng)招標(biāo)、議標(biāo)等三種招標(biāo)投標(biāo)方式。 (1).NET戰(zhàn)略, .NET戰(zhàn)略基于這樣一種想法,即所有的設(shè)備在將來(lái)都會(huì)通過(guò)Inter連接在一起,而 .NET就會(huì)為 Inter網(wǎng)絡(luò)上提供的一種服務(wù)。當(dāng)數(shù)據(jù)庫(kù)能夠容納幾乎所有數(shù)據(jù)之后,我們必然面臨的一個(gè)問(wèn)題是如何快速獲得我們需要的數(shù)據(jù)。 以目前的技術(shù)看,局域網(wǎng)建立的 B/S結(jié)構(gòu)網(wǎng)絡(luò)應(yīng)用,通過(guò) Inter/Intra模式下數(shù)據(jù)庫(kù)應(yīng)用,相對(duì)易于把握、成本也是較低的。如果用戶還沒(méi)有自己的帳號(hào),需要首先進(jìn)行注冊(cè),單擊首頁(yè)中相應(yīng)的鏈接,進(jìn)入注冊(cè)頁(yè)面。如圖 42所示,此模塊提供了用戶信息的錄入功能,首先在將用戶注冊(cè)信息添加到數(shù)據(jù)庫(kù)的應(yīng)用中時(shí),調(diào)用了存儲(chǔ)過(guò)程。若想發(fā)布項(xiàng)目信息,首要條件是用戶已經(jīng)成為系統(tǒng)會(huì)員,然后可以添加要競(jìng)拍的項(xiàng)目,并編輯以添加項(xiàng)目的信息。 (3)在投標(biāo)中需要包含對(duì)每個(gè)項(xiàng)目的出價(jià)的信息。 表 51 系統(tǒng)數(shù)據(jù)表的簡(jiǎn)要描述 表 52 用戶信息表 (Person) 字段名 數(shù)據(jù)類型 長(zhǎng)度 允許為空 是否為主鍵 說(shuō)明 PersonID bigint 8 否 是 唯一標(biāo)識(shí) FamilyName varchar 255 否 登錄名 GivenName varchar 255 否 真實(shí)名 EmailAddress varchar 255 否 郵箱地址 Password varchar 255 否 密碼 StreetAddress1 varchar 255 否 單位地址 StreetAddress2 varchar 255 是 地址 City varchar 255 是 城市 State varchar 255 是 狀態(tài) PostalCode varchar 10 是 郵政編碼 Country varchar 255 是 所屬國(guó)家 Active char 1 是 行為 LastLogin datetime 8 是 最后登錄時(shí)間 表 描述 Person 包含系統(tǒng)中所有注冊(cè)用戶的資料 Item 包含待售或以售項(xiàng)目的信息 Bid 包含每個(gè) Item出價(jià)的信息 Sale 包含每項(xiàng)銷售的信息,包括被出價(jià)的項(xiàng)目和出價(jià)者 Id Seller 包含 Person出售的項(xiàng)目信息 表 53 Seller表 字段名 數(shù)據(jù)類型 長(zhǎng)度 是否允許為 空 是否為主鍵 說(shuō)明 ID bigint 8 是 唯一標(biāo)識(shí) PersonID bigint 8 用戶 ID ItemsListed int 4 所列項(xiàng)目 ItemsActive int 4 活躍項(xiàng)目 LastActivity datetime 8 最后一項(xiàng)活動(dòng) 表 54 Item表 字段名 數(shù)據(jù)類型 長(zhǎng)度 是否允許為空 是否為主鍵 說(shuō)明 ItemID bigint 8 是 唯一標(biāo)識(shí) ItemName varchar 500 項(xiàng)目名稱 Description varchar 1000 是 項(xiàng)目描述 AskingPrice money 8 要求價(jià)格 NotifyPrice money 8 是 通報(bào)價(jià)格 SellerID bigint 8 賣方 ID ListingDate datetime 8 上部時(shí)間 ExpirationDate datetime 8 到期 ItemStatus varchar 10 狀態(tài) 表 55 Bid表 字段名