Set rs=server.CreateObject("ADODB.Recordset") Sql="select distinct * from 2006book order by id desc" rs.Open Sql,conn,1,3 '如果记录集不是空的,就执行分页显示 If Not rs.Bof And Not rs.Eof Then
Set rs=server.CreateObject("ADODB.Recordset") Sql="select distinct * from 2006book order by id desc" rs.Open Sql,conn,1,3 '如果记录集不是空的,就执行分页显示 If Not rs.Bof And Not rs.Eof Then
我也说不准,你这行代码我感觉不对呀!! 你换一下看看
Set rs=server.CreateObject("ADODB.Recordset") Sql="select * from 2006book order by id desc" rs.Open Sql,conn,1,3 '如果记录集不是空的,就执行分页显示 If Not(rs.Bof and rs.Eof) Then