你正在创建一个将包含几个子控件的自定义控件,你应该从下面那个类继承?()
A、DetailsView
B、ObjectDataSource
C、Content
D、CompositeControl
A、DetailsView
B、ObjectDataSource
C、Content
D、CompositeControl
A、给Web窗体增加能够输出XHTML的自定义控件。 B、给Web窗体增加能够输出WML的自定义控件。 C、给Web窗体增加mobile控件。 D、给Web窗体增加Web服务器控件。
A、在自定义控件代码中为Login按钮增加事件处理代码。 B、在自定义控件所在的Web窗体代码中为Login按钮增加事件处理代码。 C、在自定义控件所在的Web窗体的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。 D、在自定义控件的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
A、A.控件从System.Web.UI.Control继承。 B、B.控件从System.Web.UI.WebControls.CompositeControl继承. C、C.控件从System.Web.UI.WebControls.WebControl继承. D、D.控件从System.Web.UI.UserControl继承
A、修改Web.config中连接到CRM数据库的连接字符串。 B、在Web.config文件中增加一个新的SqlMembership Provider。 C、创建一个从Membership Provider继承的自定义Membership Provider。 D、创建一个从Membership User继承的自定义Membership Membership User。
A、增加一个SiteMapDataSource控件到Web窗体,并且绑定到TreeView 控件。 B、增加一个SiteMapPath控件到Web窗体,并且绑定到TreeView控件。 C、嵌入上述站点导航XML定义到Web.sitemap文件的SiteMap节点内。 D、嵌入上述站点导航XML定义到Web.config文件的AppSettings节点内。 E、设置SiteMapDataSource 控件的StartingNodeUrl属性值为~/Marketing.aspx。 F、设置SiteMapPath 控件的SkipLinkText属性值为Sales。
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