sql="select count(*) as tn from neirong where n_user='"&myuser&"'" set rs = conn.execute(sql) 需要的地方 <%=rs("tn")%>