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)- A8% (4)
- B13% (7)
- C75% (39)
- D4% (2)
Community Discussion
No community discussion yet for this question.