邵阳县塘路口天气预报:ASP查询输出问题!

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 21:31:54
使用了
sql="select * from news where title like '%" &b& "%'"

这个查询后请问怎么把查询到的相应结果输出来!

rs.open sql,conn,1,2,1
for i=1 to rs.recordcount
if not rs.bof and not rs.eof then
response.write rs("title")
rs.movenext
else
exit for
end if
next

SQL的话有查询分析器,
ACCESS也有一个小分析器