When creating or editing a DataGrid, use the
Delete Button (called aButton Columnin
ASP.NET) to let a user delete a particular row by clicking a button.
In the DataGrid dialog box, select the Delete
Button column in the Columns box.
In the Delete Button dialog box, enter a name for the
column.
From the Button Type pop‑up menu, select either link
or push buttons.
At run time, this column displays a button labeled Delete.
Link buttons use text links for the buttons, and push buttons use
images.
From the Delete From pop‑up menu, select the database
table whose data the user will delete.
From the Primary Key pop‑up menu, select a primary key
associated with the table.
From the Submit As pop‑up menu, select a data type, and
click OK.