灵寿县天气预报:这个代码为什么不能转换?ASP

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/02 15:29:45
'由P_type,p_small_type 得到p_type_e和p_small_tyPe_e
sql_p="select p_type_e,p_small_type_e from p_class_small where p_type='"&p_type_e&"' and p_small_type='"&p_small_type_e&"'"
set rs_p=server.createobject("adodb.recordset")
rs_p.open sql_p,conn,1,1
if Not(rs_p.BOF and rs_p.EOF) then
p_type_e=rs_p("p_type_e")
p_small_type_e=rs_p("p_small_type_e")
end if
rs_p.close
set rs_p=nothing

具体什么问题?