Answers

Question and Answer:

  Home  MCSD.NET - 70-315 Exam

⟩ Suppose You create an ASP.NET application to provide corporate news and information to XYZ?semployees. The application is used by employees in New Zealand.Default.aspx has a Web Form label control named currentDateLabel. The Page.Load eventhandler for Default.aspx included the following line of codecurrentDateLabel.Text = DateTime.Now.ToString(?D?)You need to ensure that the data is displayed correctly for employees in New Zealand. Whatshould you do?A. In the Web.config file for the application, set the culture attribute of the globalization element toen-NZ.B. In the Web.config file for the application, set the uiCulture attribute of the globalization elementto en-NZ.C. In Visual Studio .NET, set the responseEncoding attribute in the page directive forDefault.aspx to UTF-8.D. In Visual Studio .NET, save the Default.aspx page for both versions of the application byselecting Advanced Save Options from the File menu and selecting UTF-8.

A. In the Web.config file for the application, set the culture attribute of the globalization element to

en-NZ.

 178 views

More Questions for you: