日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

單項選擇題

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); 

題目列表

你可能感興趣的試題

微信掃碼免費搜題