谁能详细解释asp中"if not rs.eof and not rs.bof then"怎么理解?

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 10:46:13
谁能详细解释asp中

谁能详细解释asp中"if not rs.eof and not rs.bof then"怎么理解?
谁能详细解释asp中"if not rs.eof and not rs.bof then"怎么理解?

谁能详细解释asp中"if not rs.eof and not rs.bof then"怎么理解?
rs.eof=true时表明指针已移到最后记录,不能往下移(不等同是最后一条记录)
rs.bof=true时表时指针已移到最前记录,不能往上移(同样,不等同是第一条记录)
设某数据库共7条记录,当在第N条(N=1,2,7)时,
rs.bof=false,rs.eof=false
但第一条,又要往上移时,rs.bof=true,表示不能往上移
同理可理解rs.eof
if not rs.eof and not rs.bof then
语句块
end if
就是:
只要还没到达数据顶部和底部,就执行语句块

谁能详细解释asp中if not rs.eof and not rs.bof then怎么理解? IF Not Rs.Bof [asp]asp里的.IF Not Rs.Bof Set Rs = Conn.Execute(Select * From Nt_Imgbook)IF Not Rs.Bof ThentitleIDArr = 全部商品1ElsetitleIDArr = 全部商品2End IFresponse.write titleIDArr 关于asp里if then和if not then的问题一段代码photo=rs(photo)if photo = then response.write(无照片)elseresponse.write( if not rs.我看到解释是RS的游标是否为尾部,什么是游标,在谁的尾部啊,患有个BOF这俩什么意思啊 谁能告诉我asp.net中this的用法说的详细点好吗..我是新手. If Not (rs.BOF And rs.为什么他的值是0呢?应该是1啊! if not rs.eof rs.open sql,connif not rs.eof thensession(isadm)=admelsesession(isadm)=userend if这里面rs.eof是对数据库查询结果作如何判断? asp.net 在控件开发的代码中看到的 求高手详细解释IEnumerable IListSource IList ITypedList以及他们之间的联系 if one day we are not tobether rs rlsowith the same 这句话中为什么不能用if?I do not know wheather he will come to our party.I do not know wheather he will come to our party.我们老师说因为前面有not所以不能用if,但我好像没听过啊.谁能具体解释下? 在asp.net中, asp中&是什么意思 asp中0是什么意思 谁能解释这些文件后缀符号的类别和意思(最好详细点)求大神帮助EXE;COM;SYS;VXD;DRV;DLL;BIN;OVL;386;HTM;HTML;FON;VBS;VBE;DOC;DOT;XLS;XLT;PPT;BAT;ASP;HTT;HTA;JS;JSE;CSS;WSH;SCT;OCX;CPL;LNK;EML;NWS;MHT;PIF;SHS;MAI;SCR;ZIP;ARJ;CAB; 在DAO类中,if(rs.next()) 和while(rs.next())的区别,是按什么条件来判断采用if 还是while的, 谁能详细解释什么是慈母多败儿? 谁能告诉我小资的详细解释! 谁能详细解释下白羊座