当前位置:MCPD(70-562)题库

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You create a page that contains the following control. 
 You write the following code segment in the code-behind file for the page. 
Private Sub LoadDate(ByVal sender As Object, _ByVal e As EventArgs) 
If IsPostBack Then 
calBegin.SelectedDate = _ 
DirectCast(ViewState("date"), DateTime)
End If 
End Sub 
Private Sub SaveDate(ByVal sender As Object, _ByVal e As EventArgs) 
ViewState("date") = calBegin.SelectedDate 
End Sub 
You need to ensure that the calBegin Calendar control maintains the selected date. Which code segment should you insert in the constructor of the page? ()

A . A
B . B
C . C
D . D

国民革命失败和共产国际的关系? 井下低压电网的“三大保护”是()。 过流保护。 断流保护。 漏电保护。 接地保护。 You have a DNS server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts a primary zone for contoso.com. On Server1, you update the host (A) record for server2.contoso.com to have a new IP address.  On Server1, you run Ping server2.contoso.com from a command prompt and the old IP address for Server2 is returned.You need to ensure that the new IP address for Server2 resolves correctly on Server1. What should you do?() Run Nbtstat –R.。 Run Ipconfig /flushdns.。 Restart the DNS Server service.。 Open the DNS snap-in, right-click on the server and click Clear Cache.。 不能作为衡量系统质量的性能指标是() 平台独立。 目标明确。 结构合理。 接口清晰。 在计算机系统内部,汉字的表示方法是采用()。 ASCII码。 机内码。 国标码。 区位码。

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You create a page that contains the following control. 
 You write the following code segment in the code-behind file for the page. 
Private Sub LoadDate(ByVal sender As Object, _ByVal e As EventArgs) 
If IsPostBack Then 
calBegin.SelectedDate = _ 
DirectCast(ViewState("date"), DateTime)
End If 
End Sub 
Private Sub SaveDate(ByVal sender As Object, _ByVal e As EventArgs) 
ViewState("date") = calBegin.SelectedDate 
End Sub 
You need to ensure that the calBegin Calendar control maintains the selected date. Which code segment should you insert in the constructor of the page? ()

参考答案:

  参考解析

本题暂无解析

在线 客服