Workshop

Quiz

1:In the btnSubmit_Click event handler, the Page.IsValid property is checked and the user's guestbook entry added to the database only if this property is True. Why is this check made? Is it necessary?
2:What validation Web controls were added to the ASP.NET Web page, and what sort of data validity do they provide?
3:In the INSERT Data Method Code Builder, each database column other than the auto-increment primary key column could be checked. What effect does checking a column have?
4:Regarding question 3, why did we check the DateSigned column, and what was the value entered into the Set Value dialog box?
5:True or False: The Response.Redirect() method automatically redirects the user's Web browser to a specified URL.

Answers

A1:

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.