单项选择题
你正在创建一个使用Web部件的ASP.NETWeb站点。你为Web页增加了一个WebPartZones控件。下面那个控件可以实现给WebPartZones控件增加一个Web部件。()
A.ZoneTemplate
B.Control
C.WebPartManager
D.WebPart
相关考题
-
单项选择题
你需要在Web页截获所有未处理的事件并且在一个处理事件日志的方法中处理他们。已知Web页的AutoEventWireup属性设置为enabled。请问,你应该创建那一个方法?()
A.Page_Error
B.Error
C.Page.ErrorPage
D.Application_Error
-
单项选择题
You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do?()
A. Modify the application settings by using the Web Site Administration Tool.
B. Modify the application settings by using the Visual Studio property page editor for the project.
C. Modify the application settings by using the resource editor.
D. Modify the application settings by using the Visual Studio start options editor. -
单项选择题
You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort. What should you do?()
A. Access the personalization data from the Session property of the HttpContext object.
B. Access the personalization data from the Application property of the HttpContext object.
C. Access the personalization data from the Cache property of the HttpContext object.
D. Access the personalization data from the Profile property of the HttpContext object.
