日期的问题
Dim rs dim nian
dim yue
dim tian
dim riqi
nian=request("nian")
yue=request("yue")
tian=request("tian")
riqi=dateserial( nian,yue,tian)
set rs=server.CreateObject("ADODB.Recordset")
mySql = "select * from rpdan "
rs.Open mysql,conn,1
rs.filter=" rprushijian='"&riqi&"' "
最后一行代码是有问题吗?
如果要是链接日期型的过滤怎么写呀?