copyright © 2010 pearson addison-wesley. all rights reserved. chapter 12: introduction to asp.net...
TRANSCRIPT
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Chapter 12:Introduction to ASP.NET
Programming the World Wide Web 2009Fifth Edition
by Robert W. Sebesta
12-2
1-2
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.1 Inheritance diagrams for ASP.NET documents with and without code-behind files
12-3
1-3
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.2 A display of the output of ex1.aspx
12-4
1-4
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Table 12.1 Commonly used Web controls and related XHTML elements
12-5
1-5
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.3 The display of ex3.aspx, after the postback
12-6
1-6
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.4 Display of ex4.aspx
12-7
1-7
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Table 12.2 Validation controls and their properties
12-8
1-8
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.5 Display of ex5.aspx after some text boxes have been filled
12-9
1-9
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.6 A master/content document
12-10
1-10
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.7 The New Web Site window of Visual Studio
12-11
1-11
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.8 The initial Default.aspx document
12-12
1-12
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.9 The skeletal code-behind file furnished by Visual Studio
12-13
1-13
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.10 Initial screen of the zip code application
12-14
1-14
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.11 Screen after entering a name, an address, and a zip code
12-15
1-15
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.12 Screen after the Ajax entry of the city and state.
12-16
1-16
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.13 Screen after a second Ajax entry.
12-17
1-17
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.14 The first part of a service description
12-18
1-18
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.15 An IE browser display of the Adder Web vice
12-19
1-19
Copyright © 2010 Pearson Addison-Wesley. All rights reserved.
Figure 12.16 The test display for the Sum3 service method