【正文】
} } 頁面 該頁面顯示了一個(gè)表 , 該表對(duì)每個(gè)當(dāng)前招競(jìng)標(biāo)的項(xiàng)目作了簡(jiǎn)單的說明。該頁面功能的實(shí)現(xiàn)主要是對(duì)一個(gè)項(xiàng) 目出價(jià)后,利用數(shù)據(jù)綁定將出價(jià)信息寫入數(shù)據(jù)庫,通過都出價(jià)信息的比較,將出價(jià)最高的用戶判定為競(jìng)標(biāo)獲勝者,并發(fā)布出該用戶的信息。 表 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)目 在介紹了該類的方法與頁面實(shí)現(xiàn)后,下面主要介紹的是該頁面中核心代碼部分,其代碼如下: private void Page_Load(object sender, e) { if (!) { BindGrid()。 if (()) { = Wele + [].Value +。 = true。 = true。 } } } private void BindGrid()//創(chuàng)建項(xiàng)目對(duì)象信息,添加一個(gè)招投標(biāo)信息。 = ()。 } public string FormatUrl(Int32 intID, string strName, string strDesc) { if (()) return ?itemid= + () + amp。itemdesc= + (strDesc)。 } } } 以上只是本系統(tǒng)中類的實(shí)現(xiàn),以及涉及到的頁面及代碼的實(shí)現(xiàn),由于篇幅有限,因此就不一一多舉了。同時(shí)設(shè)計(jì)并實(shí)現(xiàn)了一個(gè)簡(jiǎn)單的招投標(biāo)系統(tǒng)。對(duì)系統(tǒng)總體流程進(jìn)行了說明,對(duì)系統(tǒng)的功能進(jìn)了了描述;招投標(biāo)系統(tǒng)的數(shù)據(jù)庫設(shè)計(jì);系統(tǒng)界面的設(shè)計(jì)與代碼實(shí)現(xiàn)。 其中對(duì)數(shù)據(jù)的操作,基本上都是調(diào)用存儲(chǔ)過程完成的。 當(dāng)然,此系統(tǒng)還有很多需要改進(jìn)的地方,可以讓應(yīng)用程序作些適當(dāng)?shù)男薷模怪?。返回網(wǎng)絡(luò)設(shè)備的鏈表,以供使用。 [2] 東方人華. Visual C.NET Web應(yīng)用程序設(shè)計(jì)入門與提高 [M].北京:清華大學(xué)出版社 , 2021。 [4] 劉振巖 ,劉慧敏 ,王歡. ASP. NET數(shù)據(jù)庫開發(fā) [M].北京:清華大學(xué)出版社 , 2021。 [6] 張閱廷,王小科,許文武. [M].北京:人民郵電出版社 ,2021。 [8] 吉根林 ,崔海源. Web程序設(shè)計(jì) [M].北京:電子工業(yè)出版社, 2021。 致 謝 在論文完成之際,學(xué)生謹(jǐn)向 蔣 毅老師和萬武南老師 以深切誠摯的謝意 ! 感謝成都信息工程學(xué)院中所有傳授知識(shí)給我的老師們。 作者簡(jiǎn)介 姓 名:趙遠(yuǎn)強(qiáng) 性別:男 出生年月: 1982 年 10 月 08 日 民族:漢 Email: 聲 明 本論文的工作是 2021年 2月至 2021年 6月在成都信息工程學(xué)院網(wǎng)絡(luò)工程系完成的。除非另有說明,本文的工作是原始性工作。 ( 2)學(xué)??梢圆捎糜坝?、縮印或其他復(fù)制方式保存學(xué)位論文。 ( 4)學(xué)??稍试S學(xué)位論文被查閱或借閱。 除非另有科研合同和其他法律文書的制約,本論文的科研成果屬于成都信息工程學(xué)院。 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。 the true judge must not draw hisinspiration from the theatre, nor ought he to be unnerved by theclamour of the many and his own incapacity。 for they are now in the habit of posing w ith a view toplease the bad taste of their judges, and the result is that thespectators instruct themselves。 they ought to be having characters put before them betterthan their own, and so receiving a higher pleasure, but now by theirown act the opposite result follows. What inference is to be drawnfrom all this? Shall I tell you? Cle. What? Ath. The inference at which we arrive for the third or fo urth timeis, that education is the constraining and directing of youthtowards that right reason, which the law affirms, and w hich theexperience of the eldest and best has agreed to be truly right. Inorder, then, that the soul of the child may not be habituated tofeel joy and sorrow in a manner at variance with the law, and thosewho obey the law, but may rather follow the law and rejoice and sorrowat the same things as the agedin order, I say, to produce thiseffect, chants appear to have been invented, which really enchant, andare designed to implant that harmony of which we spea k. And, becausethe mind of the child is incapable of enduring serious training,they are called plays and songs, and are performed in play。 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。 and I daresay that I may have expressedmyself obscurely, and so led you to imagine that I was speak ing ofsome really existing state of things, whereas I was only saying whatregulations I would like to have about music。 and this whether he begreat and strong or small and weak, and whether he be rich or poor。 let him whodraws near and stretches out his hand against his enemies be a justman. But if he be unjust, I w ould not have him look calmly uponbloody death, nor surpass in swiftness the Thracian Boreas。 and then innumerable others, as forexam ple to have a keen eye or a quic k ear, and in general to haveall the senses perfect。 a nd the final consummation of happiness is to have acquiredall these things, and when you have acquired them to bee at onceimmortal. But you and I say, that while to the just and holy all thesethings are the best of possessions, to the unjust they are all,including even health, the greatest of evils. For in truth, to havesight, and hearing, and the use of the senses, or to live at allwithout justice and virtue, even though a man be rich in all thesocalled goods of fortune, is the greatest of evils, if life beimmortal。 and there are many other matters aboutwhich I should make my citizens spea k in a manner different from theCretans and Lacedaemonians of this age, and I may say, indeed, fromthe world in general. For tell me, my good friends, by Zeus and Apollotell me, if I were to ask these same Gods who were your legislatorsIsnot the most just life also the pleasantest? or are there two lives,one of which is the justest and the other the pleasantest?and theywere to reply that there are t