Re: [問題] ASP 3.0 一些標點符號不知道要怎麼標記

看板Web_Design作者 (果汁)時間20年前 (2006/02/16 11:59), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《molucolin (molucolin)》之銘言: : If Request("txtBeginDate") <> "" And Request("txtEndDate") <> "" then : sql="Select * from Database where Date between Request("txtBeginDate") : and Request(txtEndDate)" : End if : 在 sql 雙引號內 要如何加入單引號 程式碼怪怪的... 試試: sql = "Select * from Datebase where Date between '" & _ Request("txtBeginDate") & "' and '" & _ Request("txtEndDate") & "'" 如果試過了記得上來回一下啊~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.229.61.172
文章代碼(AID): #13y_YCv- (Web_Design)
文章代碼(AID): #13y_YCv- (Web_Design)