日期:2010-08-26  浏览次数:21367 次

<%
function count_biao(biao)
 set rskz=server.createobject("adodb.recordset")
 set rskz=conn.execute("select count(*) from "&biao&"")  
 Response.Write rskz(0)
 rskz.close
 set rskz=nothing
end function
%>
<%= count_biao("news") %>