你如果使用ADO, 并且RecordSet来接收返回的记录集,在RecordSet的RecordCount属性中有
所有的实际的记录的个数.
不过你的RecordSet必须使用客户端的光标.