Sams Teach Yourself Visual Studio .NET 2003 in 21 Days

Sams Teach Yourself .Net in 21 Days

By Jason Beres

Quiz

  1. HTML controls are derived from the _________________ class.

    System.Web.UI.HtmlControls

  2. True or False: Setting the Required field in a TextBox control creates client-side JavaScript that forces the end user to enter data into the control.

    False: There is no Required property for the TextBox control. To make a TextBox required, you must add a RequiredFieldValidator control and associate it with the TextBox you wish to make required.

  3. Using the ___________ attribute, server events are automatically wired to my HTML controls.

    runat=server

  4. The ____________ object enables me to maintain state for a page.

    ViewState

  5. True or False: You can use SQL Server to store page-level state on the client.

    False: You would use SQL Server to store server-side session state. On the client, you can use the HTTPCookies class to manage session information in the form of browser-based Cookies.

Share ThisShare This

Informit Network