新人ASP问题页面值的问题求教...
<%groupid = request("groupid")
if groupid="" or groupid="undefined" then groupid=1
Set cs = Server.CreateObject("ADODB.RecordSet")
sql="select count(*) as cs from agentlog where agentid='"&groupid&"' and housetype =1"
cs.Open sql,conn,1,1
Set cz = Server.CreateObject("ADODB.RecordSet")
sql="select count(*) as cz from agentlog where agentid='"&groupid&"' and housetype =2"
cz.Open sql,conn,1,1
Set sc = Server.CreateObject("ADODB.RecordSet")
sql="select count(*) as sc from agentlog where agentid='"&groupid&"' and housetype =0"
sc.Open sql,conn,1,1
response.write cs("cs")
response.write cz("cz")
response.write sc("sc")
%>
数据库理查出来都有值的..但是我页面上显示就变0了..求高手解释