System.Web.UI.DataSourceControl.CreateControlCollection Method

Creates a collection to store child controls.

Syntax

protected override ControlCollection CreateControlCollection ()

Returns

Returns a System.Web.UI.EmptyControlCollection.

Remarks

Note:

Because data source controls do not allow child controls, the System.Web.UI.DataSourceControl class's default implementation does not support the embedding of child controls.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0