aspMicrosoft VBScript 编译器错误 (0x800A0408)无效字符
aspMicrosoft VBScript 编译器错误 (0x800A0408)
无效字符
/newztjt/test.asp, line 23
是连接数据库时出现的问题,本人在asp连接access数据时总是出现错误,想请教各位,以下是代码
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!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>
<%
set dbconnection=Server.CreateObject("ADODB.Connection")
DBPath = Server.MapPath("data.mdb")
dbconnection.Open "provider=microsoft.jet.oledb.4.0;data source="&dbpath
SQL="select * from lm where id="" & user_id &"""
SET uplist=dbconnection.EXECUTE(SQL)
%>
<body>
</body>
</html>
<%
dbconnection.Close() (本行出错)
Set dbconnection = Nothing
%>