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:
virtual void CreateDataSource () abstract
protected abstract void CreateDataSource ()
protected abstract function CreateDataSource ()
Not applicable.

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.

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: