现在的位置: 网页制作教程网站制作教程 >正文
asp学习教程

利用RecordCount查询表中一共有多少条记录

发表于2017/3/23 网站制作教程 0条评论 ⁄ 热度 3,489℃

在asp中我们可以利用RecordCount查询表中一共有多少条记录,实例:

Sql = "select * from table where ID=" & id
Rs.Open Sql,Conn,1,1
共有<strong style="color:#FF0000"><%=Rs.recordcount%></strong>条记录
  • 暂无评论