Teach Yourself Visual Studio® .NET 2003 in 21 Days [Electronic resources]

Jason Beres

نسخه متنی -صفحه : 270/ 74
نمايش فراداده

Quiz

1:

HTML controls are derived from the _________________ class.

A1:

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.

A2:

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.

A3:

runat=server

4:

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

A4:

ViewState

5:

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

A5:

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.