• 2022-06-07 问题

    ()属性获取或设置填充listbox控件项的数据源。 A: datasource B: datatextfield C: datavaluefield D: textalign

    ()属性获取或设置填充listbox控件项的数据源。 A: datasource B: datatextfield C: datavaluefield D: textalign

  • 2022-06-01 问题

    在实现数据绑定时,列表控件主要需要设置 DataSource和()属性,然后调用DataBind方法。 A: DataSourceID B: DataTextField C: Data D: DataField

    在实现数据绑定时,列表控件主要需要设置 DataSource和()属性,然后调用DataBind方法。 A: DataSourceID B: DataTextField C: Data D: DataField

  • 2022-05-27 问题

    于DropDownList控件,下列说法正确的是() A: SelectedValue属性用于获取选中的项的Text属性 B: 可以有多个选项处于选中状态 C: 在客户端被解释成的HTML标记 D: DataTextField属性用于设置列表项的值内容

    于DropDownList控件,下列说法正确的是() A: SelectedValue属性用于获取选中的项的Text属性 B: 可以有多个选项处于选中状态 C: 在客户端被解释成的HTML标记 D: DataTextField属性用于设置列表项的值内容

  • 2022-05-27 问题

    关于DropDownList控件,下列说法正确的是() A: 在客户端被解释成的HTML标记 B: 可以有多个选项处于选中状态 C: DataTextField属性用于设置列表项的值内容 D: SelectedValue属性用于获取选中的项的Text属性

    关于DropDownList控件,下列说法正确的是() A: 在客户端被解释成的HTML标记 B: 可以有多个选项处于选中状态 C: DataTextField属性用于设置列表项的值内容 D: SelectedValue属性用于获取选中的项的Text属性

  • 2022-05-29 问题

    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.

  • 2022-05-31 问题

    Certkiller.com has hired you as a Web Application Developer for their network. The previousadministrator created a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  You check and discover that the application contains a DataSourceControl named CatDS1. ThisDataSourceControl is bound to a Microsoft SQL Server 2005 table. The primary key of the table isthe CatName column. The code below is written in the FormView control. (The line numbers isincluded for reference purposes) 01  02 Category: 03  04 05 DataSourceID="CatDS1" 06 DataTextField="CatName" 07 DataValueField="CatID" 08 Runat="server" /> 09  10   You have to make sure that any modifications made to the CatID field is written to the database.You should therefore identify the code segment that has to be added in line 04.  What should you identify?() A: Your best option would be to add the SelectedValue='<%# Bind("CatName") %>' codesegment. B: Your best option would be to add the SelectedValue='<%# Bind("CatID") %>' code segment. C: Your best option would be to add the SelectedValue='<%# Eval("CatID") %>' code segment. D: Your best option would be to add the SelectedValue='<%# Eval("CatName") %>' codesegment.

    Certkiller.com has hired you as a Web Application Developer for their network. The previousadministrator created a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  You check and discover that the application contains a DataSourceControl named CatDS1. ThisDataSourceControl is bound to a Microsoft SQL Server 2005 table. The primary key of the table isthe CatName column. The code below is written in the FormView control. (The line numbers isincluded for reference purposes) 01  02 Category: 03  04 05 DataSourceID="CatDS1" 06 DataTextField="CatName" 07 DataValueField="CatID" 08 Runat="server" /> 09  10   You have to make sure that any modifications made to the CatID field is written to the database.You should therefore identify the code segment that has to be added in line 04.  What should you identify?() A: Your best option would be to add the SelectedValue='<%# Bind("CatName") %>' codesegment. B: Your best option would be to add the SelectedValue='<%# Bind("CatID") %>' code segment. C: Your best option would be to add the SelectedValue='<%# Eval("CatID") %>' code segment. D: Your best option would be to add the SelectedValue='<%# Eval("CatName") %>' codesegment.

  • 1