nerdexam
Microsoft

70-515 · Question #124

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using…

The correct answer is C. <asp:Label lD="CompanyLabel" runat="server". See the full explanation below for the reasoning.

Question

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using .NET Framework 4.0. The Web application will be accessed by international audience. The Web application holds global and local resources for display elements that must be translated into the language that is preferred by the user. You are required to ensure that a Label control named CompanyLabel displays text in the user's preferred language from the global resource file. Which control markup will you use?

Options

  • A<asp:Label lD="CompanyLabel" runat="server"
  • B<asp:Label lD="CompanyLabel" runat="server"
  • C<asp:Label lD="CompanyLabel" runat="server"
  • D<asp:Label lD="CompanyLabel" runat="server"

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    4% (1)
  • C
    75% (18)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice