DW连接access数据库提示参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。代码如下
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<% dim conn,rst
set conn=server.CreateObject("adodb.connection")
conn.open "Provider=Microsoft.ACE.OLEDB.12.0;Data source="&server.MapPath("db\connads.accdb")
set rst=server.CreateObject("adodb.Recordset")
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<% rst.open "user",connads,1,3
%>
</body>
</html>