刷新当前表单的命令为ThisForm.Refresh。
如果要在代码中释放当前表单,则应该使用()命令。
A:RELEASE B:REFRESH C:SKIP D:This Form
在BGP协议报文中,通过()发布不可达路由信息。
A:NOTIFICATION B:UPDATE C:KEEPALIVE D:ROUTE-REFRESH
Unable to control himself, he tore the phone from his wife's hand, then from the socket, and throw it across the room.( )
A:restrain B:refresh C:release D:relieve
以下是用ASP实现的一个在线留言系统。
index.html 文档如下:
<html>
<head>
<title>在线留言系统</title>
</head>
<body>
<p align= "center" ><font color="#006699">在线留言系统</font></p>
<form method="post" action="submit.asp">
<table border="0" cellspacing="l" width="89%">
<tr>
<td>姓名: </td>
<td>< (2) name="name" size="30" class="text"maxlength="20"></td>
</tr>
<tr>
性别: </td>
<td>< (3) name="sex" size="1"
<option selected>请选择你的性别</option>
<option value="男">男</option>
<option value:"女">女</option>
</select></td>
</tr>
<tr>
<td><b>简短留言: </b></td>
<td>< (4) name:"content" rows="6" cols="45" class="tsxt"></textarea></td>
</tr>
<tr>
<td>< (5) name="submit" class:"btn" value="提交留言"></td>
<td>< (6) name=:Bl" value="全部重填" class="btn"></td>
</tr>
</table>
</form>
</body>
</html>
submit.asp 文档的内容如下:
<%
If request, form("name"):" " Then
response. write" <script>alert (’请填写留言人的姓名! ’; history, back ( ) </script>"
response. end
End If
If request.form("sex")=’ ’" or request. form("sex")="请选择你的性别" Then
request. write" <script>alert (’请选择留言人的性别’); history, back ( ) </script>"
response, end
End If
If len( (7) )>100 Then
request.write"<script>alert(’留言不能超过100字!’) ; history, back( )</script>"
response. end
End If
%>
<!--#include file="conn.asp"-->
<%
dim rs, sql
set rs=server. (8)
sql="select * from data where ( id is null)"
rs.open sql, conn, 1, 3
rs. (9)
rs("name")= (10)
rs ("sex") =request. form("sex")
rs("content")= request. form(" content")
rs ("date") =now ( )
rs("ip")=request.ServerVariables("remote addr")
rs. (11)
rs. close
conn. close
response.redirect "success.asp"
%>
(11)()
A:submit B:update C:append D:refresh
VB 6.0中,ADO数据控件用于连接数据源的属性是______。
A:Refresh B:RecordSource C:CommandType D:ConnectionString
下列中的______是事件。
A:Line B:Refresh C:KeyPress D:Visible
在表单运行中,当结果发生变化时,应刷新表单,刷新表单所用的命令是
A:RELEASE B:DELETE C:REFRESH D:PACK
为了把焦点移到某个指定的控件,所使用的方法是
A:SetFocus B:Visible C:Refresh D:GetFocus
阅读下列程序说明和程序,在每小题提供的若干可选答案中,挑选一个正确答案。
【程序说明】 如下图所示,设计一个可供逐条记录翻页查看职工档案表(ZGDA.
DBF)内容的表单,首先打开表单设计器,采用“快速表单”方法,在该表单的数据环境中加入ZGDA表,并完成表单布局;然后在表单的下方添加命令按钮组,依次包括:“上页”、“下页”、“退出”3个按钮。
【程序】 命令按钮组Click事件的程序代码如下: DO
CASE CASE This. Value=1 (9)
IF BOF ( )
GO BOTT ENDIF
ThisForm. Refresh CASE This. Value=2
(10) IF
EOF( ) GO TOP
ENDIF (11)
CASE This. Value=3 (12)
ENDCASE |
A:ThisFor Releas B:ThiRelease C:ThiRefresh D:ThisFor Refresh