freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

asp程序畢業(yè)設(shè)計外文翻譯-jsp程序-閱讀頁

2025-02-08 06:19本頁面
  

【正文】 sualBasic 、 Java、 VisualC++、 COBOL 等編程語言來編寫你所需要的ActiveXServerComponent。 ASP 運行環(huán)境: MicrosoftPersonalWebServeronWindows95/98 正如前文所述,與一般的程序不同, .asp 程序無須編譯, ASP 程序的控制部份,是使用 VBScript、 JScript 等腳本語言來設(shè)計的,當(dāng)執(zhí)行 ASP 程序時,腳本程序?qū)⒁徽酌畎l(fā)送給腳本解釋器 (即腳本引擎 ),由腳本解 釋器進(jìn)行翻譯并將其轉(zhuǎn)換成服務(wù)器所能執(zhí)行的命令。當(dāng)你安裝 ASP 時,系統(tǒng)提供了兩種腳本語言: VBsrcipt 和 JScript,而 VBscript 則被作為系統(tǒng)默認(rèn)的腳本語言。 ASP 本身并不是一種腳本語言,它只是提供了一種使鑲嵌在 HTML 頁面中的腳本程序得以運行的環(huán)境?,F(xiàn)在就讓我們開始一步一步地認(rèn)識并學(xué)習(xí) ActiveServerPages。你只需將 .asp 程序放在 WEB 服務(wù)器的虛擬目錄下(該目錄必須要有可執(zhí)行權(quán)限),就可以通過 WWW的方式訪問 ASP 程序了。要編寫腳本,你必須要熟悉至少一門腳本語言,如 VBScript。如前所述ASP 所提供的腳本運行環(huán)境可支持多種腳本語言,譬如: JScript、 REXX、 PERL等等,這無疑給 ASP 程序設(shè)計者提供了廣泛的發(fā)揮余地。下面是一個典型的在同一 .asp 文件中使用兩種腳本語言的例子: HTML BODY TABLE %CallCallme% /TABLE %CallViewDate% /BODY /HTML SCRIPTLANGUAGE=VBScriptRUNAT=Server SubCallme TRTDCall/TDTDMe/TD/TR EndSub /SCRIPT SCRIPTLANGUAGE=JScriptRUNAT=Server functionViewDate() { varx x=newDate() (()) } /SCRIPT 這是各位在本文中接觸的第一個真正的 ASP 程序,千萬不要被“ %%”符號搞糊涂,這其實是標(biāo)準(zhǔn)的 ASP 定界符,而“ ”之間的就是腳本語言。建立一個 ASP 頁面,你所需的只是打開一個文本編輯器,如:Notepad,然后跟我開始動手編寫第一個 ASP 程序。雖然,這只是一個非常簡單的實例,而且這一功能完全可以通過 JavaScript完成,但是不難發(fā)現(xiàn)使用 ASP要比 JavaScript簡潔、迅速得多,而且運用此法,你完全可以輕而易舉地令你的網(wǎng)頁在不同的時段展示不同的風(fēng)格。接下來我們將給 添加一點色彩,在 body標(biāo)識中添加“ bgcolor=%=bgc%”即變?yōu)閎odybgcolor=%=bgc%,并在 body標(biāo)記前添加如下語句: %IfTime12:00:00AndTime=00:00:00Then bgc=silver ElseIfTime19:00:00AndTime=12:00:00Then bgc=navy Else bgc=red EndIf % 如此一來,當(dāng)用戶在不同的時段訪問你的頁面時,他們將會看到不同的頁面背景色。首先你需要在頁面中設(shè)置表單,將以下 HTML代碼剪貼到“ %IfTime12:00:00AndTime=00:00:00Then%”之后: 歡迎光臨我的主頁,請?zhí)顚懸韵滦畔?:FORMMETHOD=POSTACTION= P FirstName:INPUTNAME=fnameSIZE=48 P LastName:INPUTNAME=lnameSIZE=48 P Title:INPUTNAME=titleTYPE=RADIOVALUE=mrMr. INPUTNAME=titleTYPE=RADIOVALUE=msMs. PINPUTTYPE=SUBMITINPUTTYPE=RESET /FORM 然后在以上 HTML代碼后面添加如下 ASP 命令: % title=(title) iftitle=mrthen % 歡迎您 Mr.%=(fname)%。 %else% Bfontcolor=blue歡迎您%=(fname)amp。(lname)%。過去為了實現(xiàn)這樣的功能必須編寫一個獨立于 HTML 之外的 CGI 程序,并通過 HTML 進(jìn)行調(diào)用,撇開 CGI 編寫復(fù)雜等缺點不談, CGI 的執(zhí)行效率也是一個大問題,每一個表單 (form)均須執(zhí)行一個可執(zhí)行文檔,當(dāng)多人同時上線使用時,多個文檔同時執(zhí)行,將大大降低 WEB 服務(wù)器的執(zhí)行速度,如今 ASP 提供了與 HTML 完全相融的編 程環(huán)境,顯然要比使用CGI 便捷得多。當(dāng)然此例的效 果完全可以用 HTML做到,但是不難發(fā)現(xiàn)使用 ASP 大大縮短了代碼的重復(fù)編寫,使得程序具有良好的可閱讀性。如果一個對象被評為 4 星級,那只需將一顆星的圖片循環(huán)顯示 4 次,類推即可。s feet this language speech. Server Pages can with term why the ActiveX scripting language speech permits mutually. In addition to canning make establish with VBScript or JScript language speeches to account, return the over the plug in square type, make use from the third an its his feet for lifting providing this language speech,such as REXX, Perl, etc. of Tcl,. Feet this lead is the COM( Component Object Model) thing piece of a reason feet this distance preface. Server Pages source distance preface, can39。s now, fast get soon many, but and carries to use this method, you are over and all can with light but raise a hour of page at not together an exhibition that makes you showing easily not together of breeze space. This Time in the example is solid on the occasion of the top is a VBScript inside to place of show to show is a feet for of letter counting, from in is recognizing this language speech for to be front is a VBScript, being you because of this to adjust to use that letter in ASP life ream several, feet this leads would from move its turn to change before being of is the bottom to me will add the to add some color , add to add the bgcolor= the %= the bgc the % change namely for the body bgcolor the =%= bgc% in body mark knew, bine to mark at the body before recording adds to add such as the next language sentence: % If Time 12:00:00 And Time = 00:00:00 Then bgc=silver ElseIf Time 19:00:00 And Time = 12:00:00 Then bgc=navy Else bgc=red End If % Come such as this , be to use a hour for at not together a page for visitting asking you, he will see not together of page carry view color on page39。amp。t feel to ASP of the good a for, however but first counting according to deal hugely increasing, you will would deeply engraving will arrive the of that ASP move ex stands to take you and did not have light, the feels to suffer! Picks from 《 ASP language knowledge to introduce》 author: Johnson
點擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1