主题:一个ASP问题
<%@language=vbscript%>
<%dim strcnn,cnn,strrs,rs
set cnn=server.createobject("ADODB.connection")
strcnn="driver={sql server};server=XUWEI-53D032A93;database=xuwei3;uid=sa;pwd=4602756;"
cnn.open (strcnn)
strrs="select * from [user]"
set rs=cnn.execute(strrs)
do while not rs eof
response.write rs("name")
response.write "<br>"
rs.movenext
loop
rs.close
set rs=nothing
cnn.close
set cnn=nothing
%>
这是我的代码.出现一个错误ox800adodb 类型不匹配
<%dim strcnn,cnn,strrs,rs
set cnn=server.createobject("ADODB.connection")
strcnn="driver={sql server};server=XUWEI-53D032A93;database=xuwei3;uid=sa;pwd=4602756;"
cnn.open (strcnn)
strrs="select * from [user]"
set rs=cnn.execute(strrs)
do while not rs eof
response.write rs("name")
response.write "<br>"
rs.movenext
loop
rs.close
set rs=nothing
cnn.close
set cnn=nothing
%>
这是我的代码.出现一个错误ox800adodb 类型不匹配