In the Format String text box in the Linked Page area, click the Browse button then locate and
6
select your confirmation page.
Dreamweaver creates a URL to the confirmation page that includes a URL parameter
identifying the record the confirmation page should display. Make a note of the name of the
URL parameter because you'll use it for the confirmation page later.
For example, if you select locationDelete.aspx as your detail page and you selected CODE as
the field in your DataSet that uniquely identifies each record, then Dreamweaver creates the
following URL.
In this case, Dreamweaver creates a URL parameter called
of the data field, but you don't have to use that name. You can change it to something more
descriptive, such as recordID, as in the following example.
locationDelete.aspx?recordID={0}
The
element is a placeholder corresponding to the data field's value. When the page runs,
{0}
the values of the DataSet's CODE field are inserted in the corresponding rows in the
DataGrid. For example, if the Canberra, Australia, rental location has the code CBR, then the
following URL will be used in the Canberra row in the DataGrid:
locationDelete.aspx?recordID=CBR
Click OK to close the Hyperlink dialog box; then click OK to close the DataGrid dialog box.
7
Dreamweaver updates the DataGrid on your page. The following is a DataGrid viewed in a
browser after searching for all the cities that start with the letter c.
After creating the delete links, the next step is to display the record on the confirmation page.
694
Chapter 41: Building ASP.NET Applications Rapidly
. Dreamweaver copies the name
CODE
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers