22,209
社区成员
发帖
与我相关
我的任务
分享
set rs=server.createobject("adodb.recordset")
sql="select * from [iyu_Notice] where cmsStep = 1 and year(cmsAddTime) = '"&years&"' and month(cmsAddTime) = '"&months&"' "
rs.open sql,conn,1,3
rs.open sql,conn,1,1
改个
rs.open "select * from [iyu_Notice]",conn,1,1
试试