ASP.NET中进行数据绑定时,一般都会执行DataBind方法。()
ASP.NET中进行数据绑定时,一般都会执行DataBind方法。()
设置gridView的数据源需要使用()属性。 A: DataBind B: DataSource C: dataSet D: dataTable
设置gridView的数据源需要使用()属性。 A: DataBind B: DataSource C: dataSet D: dataTable
数据绑定技术所使用的控件成员是。 A: DataSource B: DataBind C: Fill D: value
数据绑定技术所使用的控件成员是。 A: DataSource B: DataBind C: Fill D: value
在实现了绑定的数据源之后,需要调用控件的databind方法来实现控件的数据绑定
在实现了绑定的数据源之后,需要调用控件的databind方法来实现控件的数据绑定
判断页面表单是否提交的Page对象的方法是()。 A: IsValid B: Databind C: IsPostBack D: Write
判断页面表单是否提交的Page对象的方法是()。 A: IsValid B: Databind C: IsPostBack D: Write
DropDownList控件通过DataSource属性设置数据源,再通过DataBind方法显示数据,这种方法通常不需要连接数据库。
DropDownList控件通过DataSource属性设置数据源,再通过DataBind方法显示数据,这种方法通常不需要连接数据库。
以下选项中哪一个不是完成数据绑定所必须的属性或方法( )。 A: Datasource属性 B: Databind方法 C: <%=表达式%> D: <%#表达式%>
以下选项中哪一个不是完成数据绑定所必须的属性或方法( )。 A: Datasource属性 B: Databind方法 C: <%=表达式%> D: <%#表达式%>
在实现数据绑定时,列表控件主要需要设置 DataSource和()属性,然后调用DataBind方法。 A: DataSourceID B: DataTextField C: Data D: DataField
在实现数据绑定时,列表控件主要需要设置 DataSource和()属性,然后调用DataBind方法。 A: DataSourceID B: DataTextField C: Data D: DataField
利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView中DataBind()方法的调用置于()事件处理代码中
利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView中DataBind()方法的调用置于()事件处理代码中
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.