Deleting the record from the database table (ASP and JSP)

Deleting the record from the database table (ASP and JSP)

After adding a button the user can click to delete the record (see Sending the delete command to the server (ASP and JSP), the final step is to add the Delete Record server behavior to update the database table after the user clicks the Submit button.

To add a server behavior to delete the database table:

  1. In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select Delete Record from the pop-up menu.

    The Delete Record dialog box appears.

    This is a picture of the feature being described.

  2. Complete the dialog box.

    For more information, click the Help button in the dialog box.

  3. Click OK.

Dreamweaver adds a server behavior to the page that lets users delete records in a database table by clicking the Submit button on the form.



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
Building ColdFusion Applications Rapidly
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly