Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDataSourceProvider Interface

Defines an interface that a control designer can implement to provide access to a data source.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public interface IDataSourceProvider
public interface IDataSourceProvider
public interface IDataSourceProvider

A class that is able to provide a data source can implement this interface to enable access to its data source by objects that use the IDataSourceProvider interface. This interface is used by the DataFieldConverter and DataMemberConverter classes.

The following code example shows a custom class, named TemplatedListDesigner, which inherits from the TemplatedControlDesigner class and implements the IDataSourceProvider interface.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show:
© 2014 Microsoft. All rights reserved.