论坛: 编程破解 标题: ASP这里可以合并吗 复制本贴地址    
作者: huarongdao [huarongdao]    论坛用户   登录
if not rs.eof then
 counter=rs("seq")
 rs.movenext
 counter=counter+1
else
 counter=1
――――――――――――――――――――――――――
if not rs.eof then        '这里可以合并吗?
    while not rs.eof
     counter=rs("seq")
     rs.movenext
    wend
  counter=counter+1
else
 counter=1
end if

地主 发表时间: 05/14 22:50

回复: 286 [unique]   版主   登录
合并是什么意思?
头一个程序执行完后指针指向当时的下一个位置.
后一个执行完后指针指向最后一个位置.
(虽然counter的结果有可能一样.)


B1层 发表时间: 05/15 08:58

论坛: 编程破解

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号