Do While Not objRs.eof Response.Write "<tr bgcolor='#eeeeee'>" For i=1 to 5 Response.Write "<td align='center'>"&objRs("name")&"</td>" objRs.MoveNext Next esponse.Write "</tr>" Loop 错误提示: Microsoft VBScript 编译器错误 错误 '800a03f6' 缺少 'End' /iisHelp/common/500-100.asp,行242 错误 '80020009' 发生意外。 我只是想每行输出五个数据呀,,, 楼下会的弟兄给我解答下吧。。应该是编程思路出了故障。。。可怜可怜我这菜鸟吧~~~~
dim i i=0 do while not objRs.eof and i<6 。。。。。。。。。中间这里自己补充完整 i=i+1 if i>6 then exit do objRs.MoveNext loop