谁能解释一下 Rs.eof or Rs.bof 和 rs.bof and rs.eof 的具体含义?
来源:百度知道 编辑:UC知道 时间:2024/05/25 05:17:40
1、Rs.eof or Rs.bof
当数据集指针处於开始处或处於末端则此表达式为真。此时如果用rs.movelast或rs.movenext的时候就会报错了,其它的如上面的朋友所讲。
2、rs.bof and rs.eof
当记录集为空的时候返回真,也就是说当此为真的时候没有记录返回。一般用来判断记录集是否为空,如果用rs.recordcount来判断的话,这个时候会由于rs没有记录集而报错。
1、Rs.eof or Rs.bof
当数据集指针处於开始处或处於末端则此表达式为真。当此表达
式为真时,读数据会出错的(ADO的弊端),故使用数据集之前
通常要判断一下。
2、rs.bof and rs.eof
参考第一条即可
谁能解释一下 Rs.eof or Rs.bof 和 rs.bof and rs.eof 的具体含义?
谁能详细解释asp中"if not rs.eof and not rs.bof then"怎么理解?
if rs.eof then
if rs.EOF and rs.BOF then
if rs.bof and rs.eof then
do while not rs.eof
Rs.eof or Rs.bof 和 rs.bof and rs.eof 作用有区别吗?
ASP读取数据库问题 rs.eof
ASP代码:if rs.eof and rs.bof then
rs.bof and rs.eof有先后限制么?