请帮我解释一下这小段asp代码

来源:百度知道 编辑:UC知道 时间:2024/06/01 02:58:21
rs.open "select id,name,price1,price2,vipprice,discount from product where id in ("&id&") order by id",conn,1,1
iii=0
bookscount=request.QueryString("id").count
do while not rs.eof
我是菜鸟
id in ("&id&") order by id",conn,1,1尤其是的 ("&id&")和1,1

rs.eof
request.QueryString
count
分别是什么意思
谢谢

这段代码不完整。大概意思是从按照id排序后product表id为"id"变量值的记录中,选择id,name,price1,price2,vipprice字段。
并将上个页面传来的id,即request.QueryString("id")的个数传给bookscount变量。
下面是个do while循环,没写完。。。