当前位置: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 code fragment. 

 English 
 Chinese 
 Japan 
 Korean 
 - 92 - Test Information Co., Ltd. All rights reserved. <asp:ListBox ID="lstLanguages"AutoPostBack="true" runat="server" /> 
You write the following code segment in the code-behind file for the page. 
void BindData(object sender, EventArgs e) { 
lstLanguages.DataSource = 
CultureInfo.GetCultures(CultureTypes.AllCultures); 
lstLanguages.DataTextField = "EnglishName"; 
lstLanguages.DataBind(); 
} 
You need to ensure that the lstLanguages ListBox control maintains the selection of the user during postback. 
Which line of code should you insert in the constructor of the page?()

A . this.Init += new EventHandler(BindData); 
B . this.PreRender += new EventHandler(BindData); 
C . lstLanguages.PreRender += new EventHandler(BindData); 
D . lstLanguages.SelectedIndexChanged += new EventHandler(BindData);&e

如图所示:在Photoshop中,图中的“十八街”文字,应用了图层样式的哪种属性?()     投影。 外发光。 内发光。 浮雕效果。 以下做法不属于能够提高学习质量和效率的是() 学习渠道单一。 学会创新学习。 学习方法陈旧。 能充分利用多元的学习渠道。 简述心理学及教育心理学的定义。 已知:“B”的ASCII码值是66,则码值为1000100的字符为()。 “C”。 “D”。 “E”。 “F&rdquo。 锅炉产生热水或蒸汽的工作过程主要包括() 燃料的燃烧过程。 传热过程。 加热汽化过程。 送引风过程。

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You create a page that contains the following code fragment. 

 English 
 Chinese 
 Japan 
 Korean 
 - 92 - Test Information Co., Ltd. All rights reserved. <asp:ListBox ID="lstLanguages"AutoPostBack="true" runat="server" /> 
You write the following code segment in the code-behind file for the page. 
void BindData(object sender, EventArgs e) { 
lstLanguages.DataSource = 
CultureInfo.GetCultures(CultureTypes.AllCultures); 
lstLanguages.DataTextField = "EnglishName"; 
lstLanguages.DataBind(); 
} 
You need to ensure that the lstLanguages ListBox control maintains the selection of the user during postback. 
Which line of code should you insert in the constructor of the page?()

参考答案:

  参考解析

本题暂无解析

在线 客服