可学答题网 > 问答 > MCPD(70-562)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are employed as&en


You are employed as a system administrator at Certkiller.com. You are in the process of creatingan ASP.NET application using Microsoft .NET Framework v3.5.  You decide to create a JavaScript file named DataScript.js. The following code segment waswritten to create this file:functiondivide(x, y) { if (y == 0) { var errorMsg = Messages.DivideByZero; alert(errorMsg);return null; } returnx/y; }  The DataScript.js file is inserted as a resource in a Class Library project. The namespace for thisproject is Data.Resources. The JavaScript Messages object is used by the JavaScript function inorder to retrieve messages from a resource file. This resource file is named TestMsgResources.resx. In the ASP.NET application you add an AJAX Web form as well as referencing the Class Library. Thereafter an ASP.NET AJAX ScriptReference element is added tothe AJAX Web form.  You receive an instruction from management to make sure that the JavaScript function is able toaccess the error messages defined in the resource file. You should thus determine the appropriatecode segment that should be added to the AssemblyInfo.vb file.  What should you do?()

  • AA
  • BB
  • CC
  • DD
参考答案
参考解析:
分类:MCPD(70-562)题库
相关推荐

1、You are employed as&en

You are employed as the exchange administrator at TestKing.com. The TestKing.com network containsan ...

2、You are employed as&en

You are employed as the exchange administrator at Company.com.the Company.com network contains an ex...

3、You are employed as&en

You are employed as the enterprise exchange administrator at TestKing.com. TestKing.com makes use of...

4、You are employed as&en

You are employed as a network administrator at Certkiller.com. You receive an instruction frommanage...

5、You are employed as&en

You are employed as the Exchange administrator at Company.com.The Company.com network contains an Ex...

6、You are employed as&en

You are employed as the exchange administrator at TestKing.com. You are in the process of ...