This documentation is archived and is not being maintained.
BaseDataListDesigner.GetSelectedDataSource Method
.NET Framework 1.1
Gets the selected data source component from the component's container.
[Visual Basic] Public Overridable Function GetSelectedDataSource() As Object _ Implements IDataSourceProvider.GetSelectedDataSource [C#] public virtual object GetSelectedDataSource(); [C++] public: virtual Object* GetSelectedDataSource(); [JScript] public function GetSelectedDataSource() : Object;
Return Value
The selected data source, or a null reference (Nothing in Visual Basic) if a data source is not found, or if a data source with the same name does not exist.
Implements
IDataSourceProvider.GetSelectedDataSource
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 | IDataSourceProvider
Show: