do while循环语句有问题???
do while not rsArticle.eof
TitleStr=gotTopic(rsArticle("softname"),60)
strTemp = strTemp & "<a href='Soft_Show.asp?SoftID=" & rsArticle("SoftID") & "' title='课件名称:" & rsArticle("softname") & vbcrlf & "点击次数:" & rsArticle("Hits") & "' target='_blank'>"
strTemp=strTemp & TitleStr & "</a>"
strTemp= strTemp & "<br>"
response.write strTemp
i=i+1
if i>2 then exit do
rsArticle.movenext
loop
运行结果为:
1313
1313
doll
1313
doll
sdfdsf
为什么movennext好像没起作用呢,还是从第一条记录读取?