Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
916
Chapter 41:  Building ASP.NET Applications Rapidly
Related topics
Searching for the record to update (ASP.NET)
When users want to update a record, they must first find that record in the database. 
Accordingly, you need a search page to work with the update page. The user selects the record 
to update from the DataGrid of results generated on the search page. When the user clicks the 
record, the update page opens and displays the record in a form.
For instructions on creating a page to search for the record to update, see 
.
After creating the search page, the next step is to create links on the results page that open the 
update page when clicked. 
Opening the update page and passing the record ID 
(ASP.NET)
After creating the search page, you must create links that open the update page and pass the 
ID of the record that the user selected. The update page will use this ID to find the requested 
record in the database and display it.
The record ID is passed to the update page in a URL parameter. For more information, see 
This section assumes you followed the instructions in 
 so that your search page uses a DataGrid to display records. 
To create links on the search page to open the update page and pass the 
record ID:
1.
Open the search page in Dreamweaver.
2.
Double-click the DataGrid object listed in the Server Behaviors panel 
(Window > Server Behaviors).
The DataGrid dialog box opens.