System.Web.UI.Design (

This interface specifies the behavior required for designers that interact with a data source, such as System.Web.UI.Design.WebControls.ListControlDesigner and System.Web.UI.Design.WebControls.DataGridDesigner. The interface provides two methods designed to convert a data source to a more useful object. GetSelectedDataSource( ) retrieves the selected data source object as a loosely typed System.Object. GetResolvedSelectedDataSource( ) retrieves the resolved data source as a System.Collections.IEnumerable object, like a System.Array or a System.Data.DataView instance.

public interface IDataSourceProvider {
// Public Instance Methods
   public IEnumerable GetResolvedSelectedDataSource( );
   public object GetSelectedDataSource( );

Implemented By

System.Web.UI.Design.WebControls.{BaseDataListDesigner, ListControlDesigner, RepeaterDesigner}

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace