This documentation is archived and is not being maintained.
BaseDataListDesigner.GetTemplateContainerDataSource Method
.NET Framework 1.1
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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
BaseDataListDesigner Class | BaseDataListDesigner Members | System.Web.UI.Design.WebControls Namespace
Show: