nerdexam
Microsoft

70-515 · Question #81

You are developing an ASP.NET web page that includes a textbox control that has ID txtDate. You need to ensure that the user enters a valid date in the text box. Which markup should you use?

The correct answer is C. <asp:CompareValidator ID="valDate". See the full explanation below for the reasoning.

Question

You are developing an ASP.NET web page that includes a textbox control that has ID txtDate. You need to ensure that the user enters a valid date in the text box. Which markup should you use?

Options

  • A<asp:CompareValidator ID="valDate"
  • B<asp:CompareValidator ID="valDate"
  • C<asp:CompareValidator ID="valDate"
  • D<asp:CompareValidator ID="valDate"

How the community answered

(52 responses)
  • A
    8% (4)
  • B
    13% (7)
  • C
    75% (39)
  • D
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice