网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

2、调用ListView的()方法,将构建好的适配器对象传递进去,这样ListView和数据之间的关联就建立完成了。

A.setAdapter

B.adapter

C.settext

D.gettext


参考答案和解析
setAdapter()
更多 “2、调用ListView的()方法,将构建好的适配器对象传递进去,这样ListView和数据之间的关联就建立完成了。A.setAdapterB.adapterC.settextD.gettext” 相关考题
考题 下列选项中,属于为ListView添加适配器的方法的是()。 A、setAdapter()B、setBaseAdapter()C、addAdapter()D、addBaseAdapter()

考题 在面向对象软件开发方法中,类与类之间主要有以下( )关系。A、继承和聚集B、方法调用和一般C、聚集和消息传递D、继承和方法调用

考题 ListView控件在显示项目列表时总带有一个图标。

考题 ()控件以表格形式显示数据,一次只能呈现一条记录,并提供翻阅多条记录以及插入、更新和删除记录功能。A、DetailsViewB、GridViewC、RepeaterD、ListView

考题 以下关于ListView的XML属性的描述错误的是()A、ListView与其他的UI控件相同,在XML布局文件中通过标签将其放入界面布局中。B、直接让Activity继承自ListAdapter,可以将ListView填充满整个Activity。C、在XML布局代码中将ListView的位置设为占满整个Activity,可以将ListView填充满整个Activity。D、把ListView放在布局控件中,让其只占界面的某一部分。

考题 更新数据集应调用数据适配器的()方法。

考题 为了建立与数据库的连接,必须调用连接对象的()方法,连接建立后,可利用连接对象的()方法来执行SQL语句。

考题 要向ListView控件中插入一个项目,需要调用控件的()方法。 A、Items.AddB、Items.InsertC、Items.RemoveD、Items.Clear

考题 下面对于ListView控件说法错误的为()A、LayoutTemplate定义了ListView控件的主要布局,必须包含一个充当数据占位符的控件B、GroupTemplate定义了ListView控件中一组数据的布局方式,必须包含一个充当数据占位符的控件C、使用ListView控件时,至少需要编辑LayoutTemplate、GroupTemplate和ItemTemplate3个模板。D、LayoutTemplate和GroupTemplate模板中的占位符控件必须是一个服务器端控件

考题 给新建立的文件夹输入完名字后按()键就建好了。A、strlB、shiftC、空格D、回车

考题 ListView是常用的()类型控件。A、按钮B、图片C、列表D、下拉列表

考题 给ListView设置适配器的方法是()。

考题 填充数据集应调用数据适配器的()方法。

考题 数据适配器对象使用与()属性相关联的Command对象将DataSet插入的数据更新入数据源。

考题 在VB中,对象之间的联系只能通过()的方法。A、全局变量B、消息传递C、数据文件D、参数调用

考题 Which property of the ListView class is used to get/set the name of the data field whose value exclusively identifes every data row of a ListView when the ClientIDMode property is set to Predictable?()A、LoadViewStateByIDB、UniqueIDC、ClientIDModeD、ClientIDRowSuffix

考题 You are implementing an ASP.NET page that will retrieve large sets of data from a data source. You add a ListView control and a DataPager control to the page. You need to ensure that the data can be viewed one page at a time. What should you do?()A、Set the DataPager control’s PageSize property to the number of rows to view at one time.B、Set the DataPager control’s PagedControlID property to the ID of the ListView control.C、In the code-behind file, set the DataPager control’s Parent property to the ListView control.D、In the code-behind file, set the ListView control’s Parent property to the DataPager control.

考题 单选题以下关于ListView的XML属性的描述错误的是()A ListView与其他的UI控件相同,在XML布局文件中通过标签将其放入界面布局中。B 直接让Activity继承自ListAdapter,可以将ListView填充满整个Activity。C 在XML布局代码中将ListView的位置设为占满整个Activity,可以将ListView填充满整个Activity。D 把ListView放在布局控件中,让其只占界面的某一部分。

考题 单选题ListView是常用的()类型控件。A 按钮B 图片C 列表D 下拉列表

考题 单选题在VB中,对象之间的联系只能通过()的方法。A 全局变量B 消息传递C 数据文件D 参数调用

考题 填空题给ListView设置适配器的方法是()。

考题 填空题数据适配器对象使用与()属性相关联的Command对象将DataSet插入的数据更新入数据源。

考题 单选题ListView与Cursor提供的数据进行绑定时使用()。A ArrayAdapterB SimpleAdapterC SimpleCursorAdapterD BaseAdapter

考题 填空题填充数据集应调用数据适配器的()方法。

考题 单选题ListView与数组或List集合的多个值进行数据绑定时使用()。A ArrayAdapterB SimpleAdapterC SimpleCursorAdapterD BaseAdapter

考题 填空题更新数据集应调用数据适配器的()方法。

考题 单选题You are implementing an ASP.NET page that will retrieve large sets of data from a data source. You add a ListView control and a DataPager control to the page. You need to ensure that the data can be viewed one page at a time. What should you do?()A Set the DataPager control’s PageSize property to the number of rows to view at one time.B Set the DataPager control’s PagedControlID property to the ID of the ListView control.C In the code-behind file, set the DataPager control’s Parent property to the ListView control.D In the code-behind file, set the ListView control’s Parent property to the DataPager control.

考题 单选题要向ListView控件中插入一个项目,需要调用控件的()方法。A Items.AddB Items.InsertC Items.RemoveD Items.Clear