ODBC 驱动程序不支持所需的属性

2025-04-10 09:31:17
推荐回答(2个)
回答1:

<% set rs3=server.CreateObject("adodb.recordset")
sql="select top 2 * from Spin where Classification="&id&"and flei="& rs2("id")&"and not Sxiajia=0 order by hits desc"
rs3.open sql,db,1,1 %>
<% do while not rs3.eof %>

回答2:

sql="select top 2 * from Spin where Classification="&id&"and flei="& rs2("id")&"and not Sxiajia=0 order by hits desc"
改成这个就可以
sql="select top 2 * from Spin where Classification="&id&"and flei="& rs2("id")&"and not Sxiajia=0"