题目
A.<%@ OutputCache Duration="300" Shared="true" VaryByParam="None" %>
B.<%@ OutputCache Duration="5" VaryByParam="None" %>
C.<%@ OutputCache Duration="5" Shared="true" VaryByParam="None" %>
第1题
A.Button
B.TemplateControl
C.Control
D.WebControl
E.UserControl
第2题
A.控件从System.Web.UI.Control继承。
B.控件从System.Web.UI.WebControls.CompositeControl继承.
C.控件从System.Web.UI.WebControls.WebControl继承.
D.控件从System.Web.UI.UserControl继承
第3题
A.在自定义控件代码中为Login按钮增加事件处理代码。
B.在自定义控件所在的Web窗体代码中为Login按钮增加事件处理代码。
C.在自定义控件所在的Web窗体的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
D.在自定义控件的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
第4题
A.DetailsView
B.ObjectDataSource
C.Content
D.CompositeControl
第5题
A.AppearanceEditorPart
B.BehaviorEditorPart
C.PropertyGridEditorPart
D.LayoutEditorPart
第6题
A. 使用Membership.ValidateUser
B. 使用 User.IsInRole.
C. 使用Roles.RoleExists.
D. 使用Membership.GetUser.
第7题
A.[Designer(myControlDesigner)] public class myControl: CompositeControl
B.[Designer(typeof(myControl))] public class myControlDesigner: CompositeControlDesigner
C.[Designer(myControl)] public class myControlDesigner: CompositeControlDesigner
D.[Designer(typeof(myControlDesigner))] public class myControl: CompositeControl
第8题
A.创建一个新的”Web控件库”项目,在一个Web自定义控件中创建工具条
B.将一个新的Web用户控件添加到你的ASP.NET项目,在Web用户控件中创建工具条
C.将一个新的Web窗体添加到你的ASP.NET项目,使用HTML服务器控件在WEB窗体内设计该工具条,并用.ascx扩展名保存该web窗体
D.将一个新的组件类添加到你的ASP.NET项目,使用HTML服务器控件在该组件类的设计程序中设计该工具条
第9题
A.EditCommand
B.OnClick
C.ButtonClicked
D.ItemCommand
第10题
A.
B.
C.
D.
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!