Export (0) Print
Expand All

How to: Remove Data Sources from the Data Sources Window

Updated: March 2011

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 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.

Date

History

Reason

March 2011

Updated steps to remove a Web service data source to correct an issue reported in customer feedback.

Customer feedback.

Community Additions

ADD
Show:
© 2014 Microsoft