在复习微软的过程中中还是不够全面,为了帮助广大考生系统全面的复习好《微软认证学科》,我们考吧网整理了微软认证模拟试题,本次汇编的模拟试题希望对你的考试有所帮助,预祝你考试顺利。
编辑推荐:2013年微软认证:微软认证考试必备经典试题汇总三
All the content pages in the application use a single master page. The master page uses a static navigation menu to browse the site.
You need to ensure that the content pages can optionally replace the static navigation menu with their own menu controls.
What should you do?
A.
Add the following code fragment to the master page
Add the following code segment to the Page_Load event of the content page
PlaceHolder placeHolder = Page.Master.FindControl("MenuPlaceHolder") as PlaceHolder;
Menu menuControl = new Menu();
placeHolder.Controls.Add(menuControl);
B.
Add the following code fragment to the master page
Add the following code fragment to the content page
C.
Add the following code fragment to the master page
Add the following code segment to the Page_Load event of the content page
ContentPlaceHolder placeHolder = Page.Master.FindControl("MenuPlaceHolder") as ContentPlaceHolder;
Menu menuControl = new Menu();
placeHolder.Controls.Add(menuControl);
D.
Add the following code fragment to the master page
Add the following code fragment to the content page
Answer: B