ASP报错 参数不足期待是1
我的代码<%dimjintianjintian=date()setrs=server.CreateObject("adodb.recordset")sqlstr="sel...
我的代码
<%
dim jintian
jintian=date()
set rs=server.CreateObject("adodb.recordset")
sqlstr="select * from info1 where date2 between "&jintian&" and "&jintian&" "
rs.open sqlstr,conn,1,3
rs.movefirst
while not rs.eof
response.write(rs("card"))
rs.movenext
wend
%> 展开
<%
dim jintian
jintian=date()
set rs=server.CreateObject("adodb.recordset")
sqlstr="select * from info1 where date2 between "&jintian&" and "&jintian&" "
rs.open sqlstr,conn,1,3
rs.movefirst
while not rs.eof
response.write(rs("card"))
rs.movenext
wend
%> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询