VFP中BOF是什么标志()

A:开始标志 B:中间标志 C:记录标志 D:结束标志 E:控制标志

当BOF属性为True时,表示()。

A:当前记录位置位于Recordset对象的第一条记录 B:当前记录位置位于Recordset对象的第一条记录之前 C:当前记录位置位于Recordset对象的最后一条记录 D:当前记录位置位于Recordset对象的最后一条记录之后

VFP中BOF()函数返回值的类型是()。

A:字符型 B:逻辑型 C:数值型 D:日期型

从以下备选答案中为程序中空缺选择正确答案。
试题五
阅读下列说明,根据网页显示的效果图,回答问题。
[说明]
以下是用ASP实现的一个网络留言系统。用IE打开网页文件index.asp后的效果如下图所示。

index.asp文档的内容如下。
<!--#include file="conn.asp"-->
<html>
<head><title>留言系统</title></head>
<body>
<%Set rs=Server.CreateObject("ADODB.Recordset")
rs.Open"Select * From[message]order by id",Conn,1,1
if rs.eof and rs.bof then
(3) .write("<div align=’center’class=’bg’>没有留言</div>")
end if
i=1
do while (4)
%>
<table width="700"border="1"align="center">
<tr>
<td height="30"><strong><%= (5) </strong>
<%=rs("name")%> ;<%=rs("ip")%> ;<%=ms("time")%>
<a href="del.aspdel=<%:rs("id")%>"target:"=parent">删除</a>
</td>
</tr>
<tr>
<td width="700"height="20"><%=rs("message")%></td>
</tr>
</table>
<%ms.movenext
i=i+1
loop
%>
<table width="700"border="0"align="center">
<tr>
<td><div align="left"><%=ms. recordcount%>条留言</div></td>
</tr>
</table>
<br/>
<table width="704"border="0"align:"center">
<tr>
<td width="311"><form id="forml" name="forml" method="post"
action="act.asp">
<table width="302"border="0">
<tr>
<td width="302">姓名<input name="name"type="text"class="box"
id="name"size="15"/><p/>
验证码<input name=’validatecode’type=’text’Class="box"size=’5’>
<img src=’imgchk/validatecode.asp’ align=’absmiddle’
border=’0’>  </td>
</tr>
<tr>
<td>内容 (6) </td>
</tr>
<tr>
<td height="30"><input type=" (7) "name="tj"value="提交留言"/>
<input name="ip" type="hidden" id="ip" value= "<%=
Request.serverVariables("REMOTE_ADDR")%>"/></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<%rs.close%>
</body>
</html>

A:rs.eof B:rs.bof C:not rs.eof D:not rs.bof

如果当前表中没有记录,则函数:EOF( )、BOF( )和RECNO( )的值依次是______。

对数据库CZ进行下列操作,其结果为( )。
USE CZ
BOF( )
SKIP -1
7BOF( )
C0 BOTTOM
EOF( )
SKIP
EOF( )

A:. B:T.、. C:T.、. D:T.、. E:T. F:.F、. G:T.、. H:T.、. I:T. J:. K:、. L:T.、. M:、. N:T.

利用BOF( )测试当前打开的一个空表文件,函数返回值为( )。

A:INPUT、ACCEPT B:INPUT、WAIT C:ACCEPT、WAIT D:INPUT、ACCEPT和WAIT

对数据库CZ进行下列操作,其结果为( )。 USE CZ BOF( ) SKIP -1 7BOF( ) C0 BOTTOM EOF( ) SKIP EOF( )

A:.、.、.、. B:.F、.、.、. C:.、.、.、. D:.,.,.,.

微信扫码获取答案解析
下载APP查看答案解析