A.Control
B.web服务器控件
C.html服务器控件
D.Web窗体
第3题
B.CompareValidator
C.RangeFieldValidator
D.RegularExpressionValidator
第4题
如图,是ASP.NET中的一个DropDownList控件,已知该控件的AutoPostBack属性、EnableViewState属性都为True, 该控件所在的页面的部分代码如下,在图示状态下,用户单击关羽项后,在页面的输出结果是()。 Protected System..Web.UI.WebControls.DropDownList DropDownList1; Protected System..Web.UI.WebControls.Button Button1; string name=”诸葛亮”; private void Page_load(Object sender,System.EventArgs e){ if(!this.IsPostBack){ string []names = new string[]{“张飞”,”关羽”,”刘备”} this.DropDownList1.DataSource = names; this.DataBind(); } } Private void DropDownList1_SelectedIndexChanged(object sender,System.EventArgs e) { If(this.DropDowmList1.SelectedItem!=null){ name=this.DropDownList1.SelectedItem.Text; } Response.Write(name) }
A、诸葛亮
B、张飞
C、关羽
D、刘备
第6题
A、<%Page%>
B、<%@Control%>
C、<%Register%>
D、<%OutPutCache%>
第8题
A、模版列中的控件只有默认属性可以绑定数据库
B、模版列中的控件的任意属性可以绑定数据库,但只能有一个属性绑定数据库
C、模版列中的控件的任意属性可以绑定数据库,同时可以有多个属性绑定数据库
D、模版列中只有TextBox控件可以绑定数据库
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!