数组问题
Dim strSQL,name,num
ReDim result()
int i=0
set rs=server.createobject("adodb.recordset")
name=Request.Form("name")
strSQL="SELECT * FROM [t1]"
rs.Open strSQL,conn,1,1
do while not rs.EOF
result(i)=rs("name")
rs.MoveNext
i=i+1
loop
for j=0 to UBound(result)
Response.Write result(j)
next
我想把返回的记录集,放到数组显示,程序不对,哪些地方要怎么修改?!
谢谢