首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
将数据项"Student"添加到名称为List1的列表框中,并使其成为列表框第一项的语句为( )。
将数据项"Student"添加到名称为List1的列表框中,并使其成为列表框第一项的语句为( )。
admin
2020-02-27
27
问题
将数据项"Student"添加到名称为List1的列表框中,并使其成为列表框第一项的语句为( )。
选项
A、List1.AddItem "Student", 0
B、List1.AddItem "Student", 1
C、List1.AddItem 0,"Student"
D、List1.AddItem 1,"Student"
答案
A
解析
List控件的AddItem方法的语法是:AddItem(String,index)。其中index是列表框中列表项的索引值,第一项的索引值为0。
转载请注明原文地址:https://jikaoti.com/ti/wBx0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
设有如下事件过程: PrivateSubCommandl_Click()Dimaa=Array(12,3,8,5,10,3,5,9,2,4)Fork=lTo9Printfun(a(k一1),
有如下过程代码:Subvar_dim() StaticnumaAsInteger DimnumbAsInteger numa=numa+2 numb=numb+1 printnuma;numbEndSub连续3次
一个栈的初始状态为空。现将元素1,2,3,A,B,C依次入栈,然后再依次出栈,则元素出栈的顺序是
在窗体上画一个命令按钮和一个文本框,其名称分别为Command1和Text1,然后编写如下程序:FunctionFun(xAsInteger,yAsInteger)AsIntegerFun=IIf(x
在关系数据库中,用来表示实体间联系的是
为了使命令按钮的Picture、DownPicture或DisabledPicture属性生效,必须把它的Style属性设置为( )。
在考生文件夹下有一个工程文件sit5.vbp,在该工程文件中已经定义了一个学生记录类型数据StudType。有三个标题分别为“学号”、“姓名”和“平均分”的标签;三个初始内容为空,用于接收学号、姓名和平均分的文本框Text1、Text2和Text3:一个用
对长度为n的线性表排序,在最坏情况下,比较次数不是n(n-1)/2的排序方法是()。
为了在运行时能显示窗体左上角的控制框(即系统菜单),应执行的操作是()。
随机试题
()是靠刀具和工件之间作相对运动来完成的。
下潜油电泵当油管下到最后1根时,在距井口以下5m处的油管上打1~2个电缆卡子。()
外耳道炎外耳湿疹
A、本广告仅供医学药学专业人士阅读B、请在医师或临床药师指导下购买和使用C、请按药品说明书或在药师指导下购买和使用D、请按医师处方或说明书购买和使用E、本广告仅供医药卫生专业人士阅读;根据《药品广
下列属于吸扬式挖泥船的有()
企业经营活动缴纳的下列税款,计入“税金及附加”的有()。
2018年3月20日,A公司和B公司于3月20日签订买卖合同,根据合同约定,B公司于3月25日发出100万的货物,A公司将一张出票日期为4月1日、金额为100万元、见票后3个月付款的银行承兑汇票交给B公司。4月10日,B公司向承兑人甲银行提示承兑,承兑日
青春期心理发展的矛盾性表现包括()。
以温度、物态变化的教学为例,简述如何在中学物理教学中贯彻理论联系实际的原则。
A)Reduce,reuse,andrecycle.RecyclinghasbecomeapartofAmericanlife.Italsoisanimportantpartofthewaste-processin
最新回复
(
0
)