NET developer, because they provide broad functionality
when tasked with quickly getting a data-oriented web site up and running.
A List Controls Demonstration
The following list controls demonstration uses a Repeater control to build an HTML table
representing data from a simple Access database containing a Books table with information
from the Apress web site; the source code is provided in Listings 1-9 and 1-10. The previous
edition of this book used the SQL Northwind database Customer table, but in this edition, we??™ve
made things a bit simpler by using an Access database. However, generally, you would want to
use an enterprise-quality database such as SQL Server for a real application. The demonstration
illustrates two key features of ASP.NET UI development: templates and data binding, which
we cover in Chapter 7.
26 CHAPTER 1 ?– SERVER CONTROL BASICS
With templates and data binding available, the programmer can focus on building the
data access class library in the n-tier model and hooking up the control to a data source via
data binding in the code-behind page, while the UI designer can tweak the HTML content and
templates on the .aspx page to ensure that it is displayed according to the requirements of the
web development project.
Pages:
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78