Export (0) Print
Expand All

ListControlDesigner.GetSelectedDataSource Method

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: 

See Also

ListControlDesigner Class | ListControlDesigner Members | System.Web.UI.Design.WebControls Namespace | IDataSourceProvider

Show:
© 2014 Microsoft