农场升级金土地:请高手看一下这语句有错误吗
来源:百度文库 编辑:高校问答 时间:2024/10/08 11:55:15
<%
sql="select sum(e_amount) from notes_emoney where e_ispay=1"
set rs=joekoe_cms.exec(sql,1)
sum_pay=rs(0)
rs.close
if not isnumeric(sum_pay) then sum_pay=0
%>
sql="select sum(e_amount) from notes_emoney where e_ispay=1"
set rs=joekoe_cms.exec(sql,1)
sum_pay=rs(0)
rs.close
if not isnumeric(sum_pay) then sum_pay=0
%>
完全正确!