Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

    Note Note

    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 each method of the Web service data source in the Data Sources window and choose Remove Object. When you remove the last method, the data source is removed.

    –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:
© 2015 Microsoft