记录集的做用是什么?
以下这几段记录集都是定义什么用的?1<%
set rss=server.createobject("adodb.recordset")
sqls="select * from class order by id asc"
rss.open sqls,conn,1,1
%>
2<%
set rs=server.createobject("adodb.recordset")
sql="select * from class order by id asc"
rs.open sql,conn,1,1
do until rs.eof
%>
3<%
set rs1=server.createobject("adodb.recordset")
sql1="select top 6 * from news where class='"&rs("class")&"' order by id desc"
rs1.open sql1,conn,1,1
do until rs1.eof
%>
要如何调用记录集?
谢谢!