![]() |
#2
kombel2011-07-31 15:30
|
Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
ODBC 驱动程序不支持所需的属性。
/admin/paylist1.asp, 第 14 行

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Connections/conn.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.>
<html xmlns="http://www.>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body><%cx = request("cx")
sql="select sum(pric) as income from pay where author like '%"&cx& "%' order by id desc"
set rs=server.createobject("adodb.recordset")'
rs.open sql,conn,1,1%>
<%if rs.bof then
response.write "<td align='center'><strong>对不起!没有相关的记录</strong></td>"
response.end
end if%><%income1=(rs("income"))
response.Write(income1)%>
</body>
</html>
<!--#include file="../Connections/conn.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.>
<html xmlns="http://www.>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body><%cx = request("cx")
sql="select sum(pric) as income from pay where author like '%"&cx& "%' order by id desc"
set rs=server.createobject("adodb.recordset")'
rs.open sql,conn,1,1%>
<%if rs.bof then
response.write "<td align='center'><strong>对不起!没有相关的记录</strong></td>"
response.end
end if%><%income1=(rs("income"))
response.Write(income1)%>
</body>
</html>