豆浆机早餐营养食谱:asp中可不可以“if not……then"
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/06 09:51:10
有这样一句ASP代码:
Set rs = Server.CreateObject ("ADODB.Recordset")
sql = "Select * from cnarticle"
rs.Open sql,conn,1,1
if rs.bof and rs.eof
then
exit
else
……
endif
上面的if then else
可不可以简单的写成:
if not rs.bof and noe rs.eof
then
……
或者写成
if not (rs.bof and rs.eof)
then
……
这样写可以吗?符合规则吗?
Set rs = Server.CreateObject ("ADODB.Recordset")
sql = "Select * from cnarticle"
rs.Open sql,conn,1,1
if rs.bof and rs.eof
then
exit
else
……
endif
上面的if then else
可不可以简单的写成:
if not rs.bof and noe rs.eof
then
……
或者写成
if not (rs.bof and rs.eof)
then
……
这样写可以吗?符合规则吗?
完全可以的,主要是理清楚逻辑关系
asp中可不可以“if not……then"
asp 中if语句
IF YOU ARE NOT THE ONE 的歌词,谢谢了
I wonder if the answer is right or not.(改错)
Daniel Bedingfield 《IF You are not the one》的歌词
do not leave the school if you are not allowed的中文翻译是什么
asp的if语句不解中!!!!
if you can not stand the heat get out of the kitchen是什么意思啊????
________ you give him the book back or not, I’ll tell the teacher. (if)
if not more so