我的这个是发布成功的页面,又出现了
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e10'
[Microsoft][ODBC Microsoft Access Driver] 参数不足,期待是 1。
/kaishi/post.asp,行 11
请问高手,是怎么回事呢?
<% @language="vbscript" %>
<%if session("username")="" then
response.write"<script language=javascript>"
response.write"alert('请先登录或注册才能发布、查看信息和使用相应的功能!谢谢!');"
response.write"location.href='index.asp';"
response.write"</script>"
response.end()
end if
%>
<!-- #include file="conn.asp" -->
<%
dim rs,sql
username=session("username")
id=request("ids")
content=trim(request("content"))
set rs=server.createobject("adodb.recordset")
sql="select * from reply where id is null"
rs.open sql,conn,1,3
rs.addnew
rs("replyuser")=username
rs("replycontent")=content
rs("replytopicid")=id
rs("replytime")=now()
rs.update
rs.close
dim rrs,ssql
set rrs=server.createobject("adodb.recordset")
ssql="select * from [topic] where id="
ssql = ssql + id
rrs.open ssql,conn,1,3
rrs("replycount")=rrs("replycount")+1
rrs.update
rrs.close
set objrs=server.createobject("adodb.recordset")
mysql="select * from [user] where username='" & username &"'"
objrs.open mysql,conn,1,3
objrs("pubcount")=objrs("pubcount")+1
objrs.update
objrs.close
set objrs=nothing
conn.Close
set conn=Nothing
response.redirect("viewtopic.asp?id="&id)
%>
我是新手,别见笑噢!