Wiley Dreamweaver 8 All-in-One Desk Reference For Dummies 978-0-4717-8142-4 用户手册

产品代码
978-0-4717-8142-4
下载
页码 18
Chapter 1: Building Master 
and Detail Pages
In This Chapter
Developing master and detail pages at the same time
Building your master and detail pages separately
Putting together master and detail pages for ASP.NET
Making sure your master and detail pages work
Y
ou can use Dreamweaver to build master and detail Web pages, which
are a popular way to display information on your Web site. A master
page displays a list of records and corresponding links for each record. A
user can click a link to see further information about a record on its associ-
ated detail page.
Depending on your programming language, you can either build the set of
master and detail pages all in one operation, or you can separately build the
master pages and then the detail pages. You can find out more about both
methods in this chapter.
The examples in this chapter use a simple Employee table, which you can
see in Table 1-1. The first value, the 
employee_id
, is a special field called a
key. It always has a unique value. Therefore, if you query for a record in a
table by using the key, you always get only the row that you’re looking for
because no two rows have the same key.
Table 1-1
The Employee Table
Column Name
Type of Data
employee_id
Integer
first_name
50 Character String
last_name
50 Character String
aAddress1
75 Character String
aAddress2
75 Character String
cCity
50 Character String
sState
50 Character String
(continued)
52_781428 bk09ch01.qxp  6/19/06  11:46 AM  Page 691
COPYRIGHTED MATERIAL