2013年微软认证:微软认证70-562考试精选模拟试题(6)
11-21
0

在复习微软的过程中中还是不够全面,为了帮助广大考生系统全面的复习好《微软认证学科》,我们考吧网整理了微软认证模拟试题,本次汇编的模拟试题希望对你的考试有所帮助,预祝你考试顺利。

编辑推荐:2013年微软认证:微软认证考试必备经典试题汇总三

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application has a mobile Web form that contains the following ObjectList control.

You create an event handler named ObjectListCtrl_ItemCommand.

You need to ensure that the ObjectListCtrl_ItemCommand handler detects the selection of the CmdDisplayDetails item.

Which code segment should you write?

A.public void ObjectListCtrl_ItemCommand( object sender, ObjectListCommandEventArgs e) {

if (e.CommandName == "CmdDisplayDetails") {

} }

B.public void ObjectListCtrl_ItemCommand( object sender, ObjectListCommandEventArgs e) {

if (e.CommandArgument.ToString() == "CmdDisplayDetails") {

} }

C.public void ObjectListCtrl_ItemCommand( object sender, ObjectListCommandEventArgs e) {

ObjectListCommand cmd = sender as ObjectListCommand;

if (cmd.Name == "CmdDisplayDetails") {

} }

D.public void ObjectListCtrl_ItemCommand( object sender, ObjectListCommandEventArgs e) {

ObjectListCommand cmd = e.CommandSource as ObjectListCommand;

if (cmd.Name == "CmdDisplayDetails") {

} }

Answer: A

相关内容

热门资讯

2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题8
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题6
微软认证考试基于.NET的We... 微软认证考试基于.NET的Web应用程序开发模拟试题四
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题4
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题5
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试必备经典试题10
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试经典试题2
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试经典试题7
2012年微软认证考试备考模拟... 2012年微软认证考试备考模拟试题5
2014年微软认证:微软认证V... 2014年微软认证:微软认证Version:V2.38考试经典试题1