Setting the Edit, Update, Cancel Buttons dialog box options

Setting the Edit, Update, Cancel Buttons dialog box options

The Edit, Update, Cancel Button column (referred to as the Edit Command Column in ASP.NET) lets users perform in-place editing of information in DataGrid rows. To do so, create an Edit, Update, Cancel column. At runtime, this column displays a button labeled Edit. When the user clicks the Edit button, the row data is displayed in editable controls such as text boxes, and the Edit button is replaced with Update and Cancel buttons.

To set the Edit, Update, Cancel Buttons box options:

  1. Enter a name for the column in the Title text box.
  2. From the Button Type pop-up menu, select either link or push buttons. At runtime, this column displays a button labeled "Edit." Link buttons use text links for the buttons, and push buttons use images.
  3. From the Update Table pop-up menu, select the database table whose data the user will modify.
  4. From the Primary Key pop-up menu, select a primary key associated with the table.
  5. Select a data type from the Submit As pop-up menu.
  6. Click OK.

Related topics

  • Adding an ASP.NET DataGrid to a page
  • Modifying a DataGrid or DataList object
  • Setting the ASP.NET DataGrid Property inspector options


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
Reference
Building ASP and JSP Applications Rapidly
 
ASPTreeView.com
 
Evaluation has ОЗАФЙєЕєЛЪНexpired.
Info...