当前位置: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:  
<asp:Calendar EnableViewState="false" ID="calBegin" runat="server" />   
You write the following code segment in the code-behind file for the page:  
void LoadDate(object sender, EventArgs e) {  
if (IsPostBack) {  
calBegin.SelectedDate = (DateTime)ViewState["date"];
  } 
}   
void SaveDate(object sender, EventArgs e) {
ViewState["date"] = calBegin.SelectedDate;  
}  
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

李贽是怎样高度评价《水济传》的?这种评价有什么意义? 关于领导者的行为策略,下列说法错误的是()。 团队需要权威主管。 对待团队成员要有所倚重。 善于沟通与倾听。 公平感知利益分配。 A network administrator has configured access list 172 to prevent Telnet and ICMP traffic from reaching a server with the address if 192.168.13.26. Which command can the administrator issue to verify that the access list is working properly?() Router# ping 192.168.13.26。 Router# debug access-list 172。 Router# show open ports 192.168.13.26。 Router# show access-list。 Router# show ip interface。 教育万能 罪犯又犯罪的作案要素有() 作案动机。 作案能力。 作案条件。 作案计划。 身体素质。

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:  
<asp:Calendar EnableViewState="false" ID="calBegin" runat="server" />   
You write the following code segment in the code-behind file for the page:  
void LoadDate(object sender, EventArgs e) {  
if (IsPostBack) {  
calBegin.SelectedDate = (DateTime)ViewState["date"];
  } 
}   
void SaveDate(object sender, EventArgs e) {
ViewState["date"] = calBegin.SelectedDate;  
}  
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?()

参考答案:

  参考解析

本题暂无解析

在线 客服