代码如下: rs.open sql,conn,1,1 if rs.eof and rs.bof then response.write “还没找到文章” else totalPut=rs.recordcount maxperpage=18 if currentpagetotalput then if (totalput mod maxperpage)=0