由于是初学,不晓得是哪里错了,都搞了一天了,哪位大虾帮帮忙~~~ (还有就是有人知道这个accessconnection属性吗?) <% If Request("Send") <> Empty Then UserId = Request("UserID") Password = Request("Password") UserID8 = Request("UserID9") SQL = "Select * From admin Where 姓名='" & UserID &"' and 密码="&Password&"" Set rs=Server.CreateObject("ADODB.Recordset")
set conn=Server.CreateObject("ADODB.Connection") P="Provider=Microsoft.Jet.OLEDB.4.0;"&"Data Source="&Server.MapPath("test1.mdb") conn.Open P rs.open SQL,conn,1,1
if userid8<>empty then if not rs.eof then rs.Addnew rs("聊天昵称")=UserID8 rs.Update Response.Cookies("Name") = rs("聊天昵称") application("count")=requset.cookies("name") application("t1")=Second(time()) mdbfile2="chat.mdb" Sql2="Select * from 昵称" Set r5=Access( mdbfile2,Sql2,3) intime=time() intime1=cstr(intime) r5.Addnew r5("昵称")=UserID8 r5("加入时间")=intime1 r5.Update Response.Redirect "chat.htm" Else ErrMsg = "请正确输入资料(会员名称 会员密码 聊天昵称)" End if else ErrMsg= "请正确输入资料" end if end if %>
ADODB.Recordset 错误 '800a0cb3'
对象或提供者不能执行所需的操作。
/iishelp/iis/htm/tutorial/cha/Enter.asp,行19