下边代码哪有问题啊?为什么输出显示记录时从questionid=3开始,而不从1开始啊?? <% sql="select * from lei" mrs.open sql,lconn,1,3 dim userss(20) i=0 Do while Not mrs.EOF userss(i)=mrs.Fields("leiname") i=i+1 mrs.MoveNext Loop mrs.close k=0 for j=0 to i-1 k=k+1 response.write "NO." & j+1 & ":</p><p><ol>" sql="select * from question where questionlei='"& userss(j) & "'" mrs.open sql,lconn,1,1 response.write ""& mrs.Fields("questionlei") mrs.moveFirst Do while Not mrs.EOF response.write "<li>"& mrs.Fields("questionname") response.write "<p></p> <input type='radio' value='熟练操作' name='"& mrs.Fields("questionid") & "'>熟练操作"
response.write "<input type='radio' value='了解' name='"& mrs.Fields("questionid") & "'>了解"
response.write "<input type='radio' value='不大清楚' name='"& mrs.Fields("questionid") & "'>不大清楚"
response.write "<input type='radio' value='根本不知道' name='"& mrs.Fields("questionid") & "'>根本不知道<p></p>"
mrs.MoveNext Loop response.write "</ol></p>" mrs.close next %>