ASP中:   sub display(str)
     if not isNULL(str) then 
           showbody str
     end if
   end sub
<%
    rs.close
    rs.open "select after_service from brand_ptype where brand_name='"&brand&"' and ptype_code='"&ptype&"'",conn,0,1
    if not rs.eof then
    %>
    <tr> 
      <td colspan="2"> 
        <%display rs(0)%>
      </td>
    </tr>
    <%
    end if
    rs.close
    %>
谢谢Andrawu!闪龙---flash反编专家:www.flashlong.com