网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
关于DropDownList说法错误的是()
A
使用DataSource设置数据源时,必须调用DataBind方法
B
DropDownList的DataTextField属性设置下拉框的显示文本字段
C
DropDownList的DataValueField属性可以用来绑定下拉框选项对应的id值,方便操作
D
获取下拉框选定的值是DropDownList1.SelectedItem.ToString()
参考答案
参考解析
解析:
暂无解析
更多 “单选题关于DropDownList说法错误的是()A 使用DataSource设置数据源时,必须调用DataBind方法B DropDownList的DataTextField属性设置下拉框的显示文本字段C DropDownList的DataValueField属性可以用来绑定下拉框选项对应的id值,方便操作D 获取下拉框选定的值是DropDownList1.SelectedItem.ToString()” 相关考题
考题
下列关于Web服务器端DropDownList控件的说法不正确的是( )。A.DropDownList控件显示为下拉列表框B.DropDownList控件只能实现单选C.DropDownList控件的选项中可以有默认选项D.DropDownList控件中的选项不能动态设定
考题
要获取用户对DropDownList对象的选中项的内容,应该使用其()属性。
A.SelectedIndexB.SelectedItemC.SelectedValueD.SelectedName
考题
页面上有一个DropDownList控件,如果要实现当前用户对DropDownList控件中选项的选择发生变化时重新加载页面的功能,则需要设置该控件的()。
A.AutoPostBackB.EnabledC.IsPostBackD.Visible
考题
You are developing a page named Products.aspx in a Web application that contains three DropDownList controls that are dynamically loaded from a SQL Server 2005 database file. The DropDownList controls represent a vendor list, a certification list, and an exam list. Certkiller .com customers use the Products.aspx page to select exams related to particular certifications on offer from a particular vendor. A Go button initiates the selection. Each DropDownList control has an associated RequiredFieldValidator control.Whenever the customer selects a vendor, and the vendor offers certifications, then the customer must also select a certification if the. If the vendor only offers exams and not certifications, the certification list should remain hidden. Whenever the customer selects a certification, the customer must also select an exam. Validation error messages should only be displayed when the Go button is clicked. You need to set properties on the vendor DropDownList control.What should you do?()
考题
关于DropDownList说法错误的是()A、使用DataSource设置数据源时,必须调用DataBind方法B、DropDownList的DataTextField属性设置下拉框的显示文本字段C、DropDownList的DataValueField属性可以用来绑定下拉框选项对应的id值,方便操作D、获取下拉框选定的值是DropDownList1.SelectedItem.ToString()
考题
要获取用户对DropDownList对象的选中项的内容,应该使用其()属性。A、 SelectedIndexB、 SelectedItemC、 SelectedValueD、 SelectedName
考题
You are developing an ASP.NET Web page. You add a data-bound GridView control. The GridView contains a TemplateField that includes a DropDownList. You set the GridViews ClientIDMode property to Static, and you set the ClientIDRowSuffix property to ProductID. You need to be able to reference individual DropDownList controls from client-side script by using the ProductID. What should you set the ClientIDMode property of the DropDownList to? ()A、AutoIDB、StaticC、InheritD、Predictable
考题
单选题DropDownList被选中项的索引号被置于()属性中。A
SelectedIndexB
SelectedItemC
SelectedValueD
TabIndex
热门标签
最新试卷