You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()
A. PlaceHolder
B. ContentPlaceHolder
Content
D. Substituition
查看答案
在DW属性面板中,无法直接修改水平线的()属性。
A. 宽、高
B. 颜色
C. 阴影
D. 对齐方式
You are developing an ASP.NET Web page. You add the following markup to the page. You add the following code segment to the code-behind. You need to save the uploaded file and display a message to the user that indicates that the upload either succeeded or failed. Which two actions should you perform?()
A. Replace line 3 with the following code segment. if (FileUpload1.HasFile)
B. Replace line 3 with the following code segment. if (FileUpload1.FileContent.Length > 0)
C. Insert the following code segment at line 6.FileUpload1.SaveAs(saveName);
D. Insert the following code segment at line 6. FileUpload1.FileContent.CopyTo(new FileStream(saveName, FileMode.Open);
Which of the following characteristics are common to both RIPv2 and RIPng?(Choose all thatapply.)()
A. Link-local address used for next-hop addresses
B. Interface can be added to RIP routing process in either interface configuration mode or in routerconfiguration mode
C. Uses a multicast to send routing updates
D. Use hop count as a metric
E. Distance-vector routing protocol
F. Maximum hop count is 15 with 16 being "unreachable"
YouaredevelopingaclientapplicationthatconsumesaWindowsCommunicationFoundation(WCF)service.Youusethesvcutil.exeutilitytocreateaproxyfortheservice.Youusethesvcutil.exeswitchesthatgenerateasynchronouscalls.GetFlightisaserviceoperationthattakesnoparametersandreturnsastring.TheGetFlightCallbackmethodmustbecalledwhentheserviceoperationreturns.Youcreateaninstanceoftheclientproxywiththefollowingcode:varclient=newTranvelServiceClient();YouneedtoensurethatacallbackisreceivedwhentheGetFlightoperationiscalledasynchronously. Whichcodesegmentshouldyouuse?()
A. client.BeginGetFlight(GetFlightCallback,null);client.GetFlight();
B. client.GetFlight();client.BeginGetFlight(GetFlightCallback,null);
C. client.GetFlightCompleted+=newEventHandler