Main Page

  Previous Section Next Section


System.Web.UI.Design (system.design.dll)interface

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}

      Previous Section Next Section