接收事件可以使用两种语句:()语句和()语句。 A: WithEvents B: AddHandler C: RemoveHandler D: RaiseEvent
接收事件可以使用两种语句:()语句和()语句。 A: WithEvents B: AddHandler C: RemoveHandler D: RaiseEvent
为apache附加其他配置文件可以用下面那个指令实现: A: Allowfromall B: AcceptPathInfo C: Include D: AddHandler
为apache附加其他配置文件可以用下面那个指令实现: A: Allowfromall B: AcceptPathInfo C: Include D: AddHandler
以下语句中实现事件与事件处理程序的动态处理的是()和()。 A: WithEvents B: AddHandler C: RemoveHandler D: RaiseEvent
以下语句中实现事件与事件处理程序的动态处理的是()和()。 A: WithEvents B: AddHandler C: RemoveHandler D: RaiseEvent
You are the newly appointed Web Application Developer at Certkiller.com. You make use ofMicrosoft .NET Framework v3.5 to create a Microsoft ASP.NET application. You create a page on the application that contains the code segment below:<asp:ListBox ID="lstBox1"AutoPostBack="true" runat="server" /> The page contains a code-behind file. The code below is written in the file:Private Sub BindData(ByVal sender As Object, ByVal e As EventArgs) lstLanguages.DataSource = CultureInfo.GetCultures(CultureTypes.AllCultures)lstLanguages.DataTextField = "EnglishName"lstLanguages.DataBind()End Sub You receive an instruction from management to make sure that lstBox1 ListBox control retains theselection of the Certkiller client during postback. You thus need to determine the appropriate codethat should be added in the constructor of the page. What should you do?() A: You should consider adding AddHandler lstLanguages.SelectedIndexChanged, AddressOfBindData to the constructor of the page. B: You should consider adding AddHandler Me.Init, AddressOf BindData to the constructor of thepage. C: You should consider adding AddHandler Me.PreRender, AddressOf BindData to theconstructor of the page. D: You should consider adding AddHandler lstLanguages.PreRender, AddressOf BindData to theconstructor of the page.
You are the newly appointed Web Application Developer at Certkiller.com. You make use ofMicrosoft .NET Framework v3.5 to create a Microsoft ASP.NET application. You create a page on the application that contains the code segment below:<asp:ListBox ID="lstBox1"AutoPostBack="true" runat="server" /> The page contains a code-behind file. The code below is written in the file:Private Sub BindData(ByVal sender As Object, ByVal e As EventArgs) lstLanguages.DataSource = CultureInfo.GetCultures(CultureTypes.AllCultures)lstLanguages.DataTextField = "EnglishName"lstLanguages.DataBind()End Sub You receive an instruction from management to make sure that lstBox1 ListBox control retains theselection of the Certkiller client during postback. You thus need to determine the appropriate codethat should be added in the constructor of the page. What should you do?() A: You should consider adding AddHandler lstLanguages.SelectedIndexChanged, AddressOfBindData to the constructor of the page. B: You should consider adding AddHandler Me.Init, AddressOf BindData to the constructor of thepage. C: You should consider adding AddHandler Me.PreRender, AddressOf BindData to theconstructor of the page. D: You should consider adding AddHandler lstLanguages.PreRender, AddressOf BindData to theconstructor of the page.