Asp,Php,Jssdk,mysql,mssql,微信公众号开发,小程序开发-学习笔记 收集日常学习笔记和重点,交流QQ:79657181,手机/微信:18611436777

asp统计某个参数在数据库中有几条

<%

set rsM=createobject("adodb.recordset")

rsM.open "select count(*) as total from scunews where reference='"&name1&"' ",cn,1,1

if not rsM.eof then

numM=rsM("total")

'numM=rsM.recordcount

end if

rsM.close

set rsM=nothing

%>

asp统计某个参数在数据库中有几条

2018年10月28日 | 发布:anco | 分类:asp | 评论:0