我的权限是空的。数据库用户和密码全是空的
测试代码为
<!--#include FILE="adovbs.inc"-->
<%
Dim strConnString,DBConn
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=" &
Server.MapPath("exdata.mdb")
set DBConn = server.CreateObject("ADODB.Connection")
'DBConn.Open strConnString
DBConn.Open "dsn=ssss"
Dim Level,Foldername,Parent,comment,Sqlstr,rs
Set rs = server.CreateObject("ADODB.Recordset")
SqlStr="select * from folders where ID = 0"
'rs.Open SqlStr,DBConn,AdOpenKeyset,AdLockOptimistic,adCmdText
rs.Open SqlStr,DBConn,AdOpenStatic,AdLockpessimistic,adCmdText
''rs.activeconnection=DBConn
''rs.source="insert into folders (name,Parent,comment) values("&Foldername&","&Parent&","&comment&")"
''rs.open
rs.AddNew
'rs("ID")="100"
rs("name") = "sss"
rs("Parent") = 44
rs("comment") = "ssss"
rs("recordcount")=0
rs.Update
%>