标题: [求助]急!问个asp的问题? [打印本页] 作者: 藤蘿下的陽光 时间: 2010-1-19 04:20 标题: [求助]急!问个asp的问题? 代码如下:
<%
dim conn,rs
dim owner,id,topid,layer,order
dim CurPage
If Request.QueryString("CurPage")= "" or Request.QueryString("CurPage") = 0 then
CurPage =1
Else
CurPage = CINT(Request.QueryString("CurPage"))
End If
set conn=server.createobject("adodb.connection")
DBPath=Server.MapPath("../data/bbs.mdb")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBPath
set rs=server.createobject("adodb.recordset")
set rsuser=server.createobject("adodb.recordset")
sql="Select * From [User] Where [User].[User]='" & owner & "'"
response.write sql
第25行:rsuser open,conn,1,1;
dim bbsname
bbsname=rsuser("subject")
rsuser.close
set rsuser=nothing
%>
错误提示如下:
错误类型:
Microsoft VBScript 编译器错误 (0x800A0401)
语句未结束
/club/bbs.asp, line 25, column 20
rsuser open,conn,1,1;
-------------------^
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Alexa Toolbar)