You need to create a method to clear a Queue named q.Which code segment should you use?()
查看答案
YoucreateaWebForm.TheWebFormallowsuserstocalculatevaluesanddisplaytheresultsinalabelnamedlblResults.YouneedtocaptureallunhandledexceptionsontheWebFormthroughtheErrorevent.TheErroreventmustcaptureeachunhandledexceptionanddisplayitontheWebForm.Whichcodesegmentshouldyouuse?()
A. ProtectedSubPage_Error(ByValsenderAsObject,_ByValeAsSystem.EventArgs)HandlesMe.ErrorlblResults.Text=e.ToString()e=NothingEndSub
B. ProtectedSubPage_Error(ByValsenderAsObject,_ByValeAsSystem.EventArgs)HandlesMe.ErrorlblResults.Text=Server.GetLastError().ToString()Server.ClearError()EndSub
C. ProtectedSubPage_Error(ByValsenderAsObject,_ByValeAsSystem.EventArgs)HandlesMe.ErrorResponse.Write(e.ToString())e=NothingEndSub
D. ProtectedSubPage_Error(ByValsenderAsObject,_ByValeAsSystem.EventArgs)HandlesMe.ErrorResponse.Write(Server.GetLastError().ToString())Server.ClearError()EndSub
在下图所示的框架面板中,说法正确的是()
A. 上部部框架的高度为200个像素
B. 现在在对下部的框架进行设置
C. 下部框架的高度是一个相对值
D. 上部框架的高度是一个相对值
如果希望网页经过5秒后进行自动刷新,在下图的“延迟”对话框中应输入()
A. 3
B. 4
C. 5
D. 6
如果要在网页中插入注释,可通过()然后进行有关的设置。
A. 点击标志1
B. 点击标志2
C. 点击标志3
D. 点击标志4