亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在這段代碼里response.end 的作用起什么作用啊 刪掉可以不 實在不大理解!

在這段代碼里response.end 的作用起什么作用啊 刪掉可以不 實在不大理解!

四季花海 2023-02-17 22:18:29
<%if trim(request("keyword"))<>""thenresponse.Write"搜索條件為<font color='#FF0000'>"select case request("select")case "title"xuanzhe="書名"case "author"xuanzhe="作者"case "bookid"xuanzhe="編號"end selectresponse.Write xuanzheresponse.Write"</font>,關鍵字為<font color='#FF0000'>"&request("keyword")&"</font>"response.Write"的圖書,記錄數共 <font color='#FF0000'>"&rs.recordcount&"</font>"response.Write"個,信息如下:<p>"if rs.eof and rs.bof thenresponse.Write"當前沒有你要找的書!"response.Endend ifresponse.Write"<table border='1'>"response.Write"<tr><td><b>編號</b></td><td><b>名稱</b></td>"response.Write"<td><b>作者</b></td></tr>"do while not rs.eofresponse.Write"<tr><td><b>"&rs("bookid")&"</b></td><td><b>"&rs("title")&"</b></td>"response.Write"<td><b>"&rs("author")&"</b></td></tr>"rs.movenextloopresponse.Write"</table>"end if%>
查看完整描述

1 回答

?
當年話下

TA貢獻1890條經驗 獲得超9個贊

response.End 結束當前的代碼.后面的就不執行了

查看完整回答
反對 回復 2023-02-20
  • 1 回答
  • 0 關注
  • 91 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號