错误类型:
Microsoft VBScript 编译器错误 (0x800A03EA)
语法错误
/index.asp, line 15, column 21
rs.open sql,conn,1,1,
--------------------^
浏览器类型:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2)
网页:
GET /index.asp
时间:
2009年12月12日, 21:37:58
--------------------------------------------------------------------------------------------------------
源代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="Inc/conn.asp" -->
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%="SOL测试"%></title>
</head>
<body>
<%
dim rs,sql
set rs=server.CreateObject("adodb.recordset")
sql="select * from zhigong where name like '%赵%' order by gongzi desc"
rs.open sql,conn,1,1,
response.Write("姓名 工资<br />")
do while not rs.eof
response.Write(rs("name"))
response.Write(rs("gongzi"))
response.Write("<br />")
rs.movenext
loop
%>
</body>
</html>