请教一个ASP数据库连接的问题

[复制链接]
查看11 | 回复2 | 2009-6-26 11:35:04 | 显示全部楼层 |阅读模式
set cqrsprod =conn.execute("select count(*) as thislarnum from bproduc where online=true and larcode='"&larcode&"'")
thislarnum=cqrsprod("thislarnum")
请问cqrsprod("thislarnum")表示什么意思,谢谢!!

回复

使用道具 举报

千问 | 2009-6-26 11:35:04 | 显示全部楼层
获取thislarnum的结果集,也就是你所查询的count(*)的数量;...
回复

使用道具 举报

千问 | 2009-6-26 11:35:04 | 显示全部楼层
就是你的sql执行结果啊这个count结果...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行