Datasheet

Book IX
Chapter 1
Building Master and
Detail Pages
Developing Master and Detail Pages for ASP.NET
705
8. In the Linked Page section, click the Browse button next to the Format
String box.
9. Locate and select which detail page you want to display.
Note the following when selecting your link page:
When you select a detail page, Dreamweaver adds information to the
URL that specifies a parameter to use to identify the record.
Dreamweaver automatically names this parameter based on your
database field name, but you can change the name to something else
if you want to.
In any case, be sure to note the name of this URL parameter because
you need that name when you create the detail page (which you can
read about in the following section, “Creating a detail page”).
Dreamweaver uses a
{0} placeholder to indicate where it places the
value of the unique identifier when someone accesses the page.
10. Click OK to close the Hyperlink Column dialog box.
Figure 1-13 shows the updated DataGrid dialog box for the example.
11. Click OK.
The DataGrid dialog box closes. The DataGrid on your page is updated.
Creating a detail page
After you create a master page for ASP.NET (as described in the two previ-
ous sections), you need to create a detail page to display the record. To do
Figure 1-13:
The
DataGrid
dialog box
displays the
last_name
column as
a Hyperlink
type.
52_781428 bk09ch01.qxp 6/19/06 11:46 AM Page 705