This documentation is archived and is not being maintained.

BaseDataBoundControlDesigner.CreateDataSource Method

When overridden in a derived class, creates a new data source for the associated BaseDataBoundControl object.

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

protected abstract void CreateDataSource()

Notes to Inheritors

Override the CreateDataSource method to provide a means of creating a DataSource control for the associated BaseDataBoundControl object at design time.

For an example of a CreateDataSource override that displays a dialog that can be used to create a data source for the associated control, see CreateDataSource.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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