This documentation is archived and is not being maintained.

How to: Remove Data Sources from the Data Sources Window

The items in the Data Sources Window are synchronized with your project so removing items from a project will be reflected in the Data Sources window. For example, if your project has a data source based on a Web service, removing the Web reference from your project removes the Web service data source from the Data Sources window.

To remove a database data source from the Data Sources window

  • Select the dataset in Solution Explorer and remove it from the project.

    The corresponding data source disappears from the Data Sources window.

    NoteNote:

    If the data source is still visible in the Data Sources window, then click the Refresh button in the window.

To remove a Web service data source from the Data Sources window

  • Right-click the Web service data source in the Data Sources window and choose Remove Web Reference.

    –or-

  • Right-click the Web reference in Solution Explorer, and choose Delete.

To remove an object data source from the Data Sources window

  • Right-click the object data source in the Data Sources window and select Remove Object.

Show: