ASP变量的问题,求救
<%
set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from table where id="&request("id")&" "
rs.open sql,conn,1,1
if not (rs.eof and rs.bof )then
for i=1 to 25
w&i=rs("W"&i&"")
next
end if
rs.close
set rs=nothing
%>
然后调用
w1=
w2=
w3=
现在问题在:w&i=rs("W"&i&"") 这里怎么写,请大家帮忙
------解决方案--------------------
VBScript code
for i = 1 to 5
execute("test"&i&"="&i)
next
response.write test1
response.write test2
response.write test3
response.write test4
response.write test5