How to: Delete Rows in the Results Pane

Delete rows in the Results pane if you want to delete records in the database. If you want to delete all of the rows you can use a Delete query. For more information see How to: Create Delete Queries. If you only want to remove rows from the Results pane, change the criteria for the query. For more information see Specifying Search Criteria.

Note

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Customizing Development Settings in Visual Studio.

To delete a row or rows

  1. Select the box to the left of the row or rows you want to delete in the Results pane.

  2. Press DELETE.

  3. In the message box asking for confirmation, click Yes.

Warning

Rows you delete in this way are permanently removed from the database and cannot be recalled.

Note

If any of the selected rows can't be deleted from the database, none of them will be deleted and you will receive a message telling you which rows can't be deleted.

See Also

Tasks

How to: Create Delete Queries

Other Resources

Specifying Search Criteria