nerdexam
GIAC

GSSP-NET · Question #285

Mark works as a Web Developer for TechCom Inc. He creates an ASP.NET application named Application1 by using Visual Studio .NET. Only registered users of the company will be able to use the…

The correct answer is A. RequiredFieldValidator D. RegularExpressionValidator. See the full explanation below for the reasoning.

Question

Mark works as a Web Developer for TechCom Inc. He creates an ASP.NET application named Application1 by using Visual Studio .NET. Only registered users of the company will be able to use the application. The application contains a page named UserAcc.aspx that allows new users to register themselves to the registered users' list of the company. The UserAcc page contains several text box controls that accept users' personal details such as user name, password, home address, zip code, phone number, etc. One of the text box controls on the page is named ZipProperty in which a user enters a zip code. Mark wants to ensure that when a user submits the UserAcc page, ZipProperty must contain five numeric digits. Which of the following validation controls will he use to accomplish the task? Each correct answer represents a complete solution. Choose two.

Options

  • ARequiredFieldValidator
  • BRangeValidator
  • CCompareValidator
  • DRegularExpressionValidator
  • ERequiredValidator

How the community answered

(30 responses)
  • A
    73% (22)
  • B
    10% (3)
  • C
    13% (4)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice