ODBC 驱动程序不支持所需的属性
代码:function showProductList1(productname,top,ts)
set objrs=server.CreateObject("adodb.recordset")
str="select id,D_picture,productname from view_product where productName like '%" & productname & "%'" & " isactive='1' order by showlevel asc"
'response.Write(str)
'response.end
objrs.open str,cn,1,1 '这是第19行
set showProductList1=objrs
set objrs=nothing
end function
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
ODBC 驱动程序不支持所需的属性。
/common/fun_product.asp, 第 19 行
打出str
select id,D_picture,productname from view_product where productName like '%浙江%' isactive='1' order by showlevel asc