[求助]为什么这样写不行啊?如果是方法错了那应该怎么写????
<script language=vbScript>
<!--
public x(9)
<%
set rs1=server.CreateObject("ADODB.Recordset")
sql1="select * from ldlbk order by id"
rs1.open sql1,conn,1,1
i=0
do while not rs1.eof
%>
x( i )=<%=rs1("small_class")%>
<%
if rs1.eof then
exit do
end if
i=i+1
rs1.movenext
loop
rs1.close
set rs1=nothing
%>
-->
</script>
不能把值写入 x数组