15、ListView 控件的适配器必须是____接口类型。
15、ListView 控件的适配器必须是____接口类型。
参考答案和解析
A
相关考题:
下列叙述中,正确的是( )。A.控件数组的每一个成员的Caption属性值都必须相同B.控件数组的每一个成员的Index属性值都必须不相同C.控件数组的每一个成员都执行不同的事件过程D.对已经建立的多个类型相同的控件,这些控件不能组成控件数组
下列选项中,属于为ListView添加适配器的方法的是()。 A、setAdapter()B、setBaseAdapter()C、addAdapter()D、addBaseAdapter()
以下关于ListView的XML属性的描述错误的是()A、ListView与其他的UI控件相同,在XML布局文件中通过标签将其放入界面布局中。B、直接让Activity继承自ListAdapter,可以将ListView填充满整个Activity。C、在XML布局代码中将ListView的位置设为占满整个Activity,可以将ListView填充满整个Activity。D、把ListView放在布局控件中,让其只占界面的某一部分。
下面对于ListView控件说法错误的为()A、LayoutTemplate定义了ListView控件的主要布局,必须包含一个充当数据占位符的控件B、GroupTemplate定义了ListView控件中一组数据的布局方式,必须包含一个充当数据占位符的控件C、使用ListView控件时,至少需要编辑LayoutTemplate、GroupTemplate和ItemTemplate3个模板。D、LayoutTemplate和GroupTemplate模板中的占位符控件必须是一个服务器端控件
关于WinSock控件描述正确的是()A、WinSock控件用于显示网络适配器地址、主机地址和主机名B、WinSock控件提供一种访问TCP和UDP的网络服务C、WinSock控件的LocallIP返回本地机器IP地址D、当本地计算机希望和远程计算机建立连接时要调用WinSock控件的Connect方法
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属性的描述错误的是()AListView与其他的UI控件相同,在XML布局文件中通过标签将其放入界面布局中。B直接让Activity继承自ListAdapter,可以将ListView填充满整个Activity。C在XML布局代码中将ListView的位置设为占满整个Activity,可以将ListView填充满整个Activity。D把ListView放在布局控件中,让其只占界面的某一部分。
单选题以下关于验证控件的说法,错误的是()A一个控件可以使用多个数据验证控件进行验证B除了RequiredFieldValidator控件之外,当目标控件值为空时,其他验证控件验证都不会被触发CCompareValidator控件可以限制控件中输入的值与指定控件中的值相等DRegularExpressionValidator控件可以限制控件中输入的值必须符合正则表达式的要求。
多选题构成控件数组的多个控件必须符合的条件是()。A每个控件数组由同一类型的控件构成B每个控件具有相同的控件名C每个控件的索引Index属性都不为空D每个控件的位置都必须相同E每个控件的大小都必须相同
单选题要向ListView控件中插入一个项目,需要调用控件的()方法。AItems.AddBItems.InsertCItems.RemoveDItems.Clear