This documentation is archived and is not being maintained.

BaseDataListDesigner.GetTemplateContainerDataSource Method

Gets the data source of the template's container.

[Visual Basic]
Overrides Public Function GetTemplateContainerDataSource( _
   ByVal templateName As String _
) As IEnumerable
[C#]
public override IEnumerable GetTemplateContainerDataSource(
 string templateName
);
[C++]
public: IEnumerable* GetTemplateContainerDataSource(
 String* templateName
);
[JScript]
public override function GetTemplateContainerDataSource(
   templateName : String
) : IEnumerable;

Parameters

templateName
The name of the template to retrieve the data source for.

Return Value

An object that implements IEnumerable and contains the data source or data sources available to the template's container.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

BaseDataListDesigner Class | BaseDataListDesigner Members | System.Web.UI.Design.WebControls Namespace

Show: