O'Reilly logo

C# Primer: A Practical Approach by Stanley B. Lippman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.1. Our First Web Forms Program

Our first Web page represents an employee phone directory. It is pictured in Figure 7.1. The employee data is pulled out of a SQL database and displayed within a DataGrid control.[2] To illustrate selection within the data grid, our page pretends to dial the selected employee. To illustrate the use of a check box, the page optionally initiates a video stream as well. (The dial-up and video stream support are generously left as exercises for the reader.) The selected employee is highlighted within the data grid. In addition, the person selected, the associated phone number, and whether the video option has been checked are displayed within the text of a label—for example,

[2] The database is the NorthWind sample ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required