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
Available since 2.0
Return to top