[求助]asp连access权限问题
<% @ language="VBScript"%> <html>
<title>log</title>
<body>
<%
dim sql
dim conn
dim rs
sql="select * from student"
set rs=Server.CreateObject("ADODB.RecordSet")
conn="DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("stu.mdb")
rs.CursorLocation = adUseClient
rs.open sql,conn
rs.movefirst
do while not rs.eof
response.Write rs("num")
response.Write rs("name")
response.Write rs("sex")
response.Write rs("age")
rs.movenext
loop
response.Write rs.supports("2")
%>
<br>
<%
response.Write rs.supports("3")
%>
<br>
<%
response.Write rs.supports("4")
%>
<br>
<%
response.Write rs.supports("1")
%>
<br>
<%
response.Write rs.supports("5")
%>
<br>
<%
response.Write rs.supports("6")
%>
<br>
<%
response.Write rs.supports("7")
%>
<br>
<%
response.Write rs.supports("8")
%>
<br>
<%
response.Write rs.supports("9")
%>
<br>
<%
response.Write rs.supports("10")
%>
<br>
<%
response.Write rs.supports("11")
%>
<br>
<%
rs.close
set rs=nothing
%>
它给我返回来的supports全是false
也就是我没权限对数据库做除了查询以外的任何操作,问下怎么写才可以对数据库有操作的权限?
[此贴子已经被作者于2005-9-24 21:22:03编辑过]