Workshop

Quiz

1:To have a validation Web control display a particular error message when the data is invalid, what property would you set?
2:How does the Display property affect the display of the validation Web control's error message?
3:Many Web sites allow users to create accounts. When creating an account, the user oftentimes must choose a password and enter the desired password twice to ensure that there were no typos the first time. Now imagine that you are asked to create such a Web page. What validation Web control would you use to ensure that the text entered into these two textboxes was identical?
4:True or False: A CompareValidator can be used to ensure that a user's input is a certain data type.
5:What are regular expressions, and why ...

Get SAMS Teach Yourself ASP.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.