Gets the selected data source component from the component's container.
[Visual Basic] Protected Function GetSelectedDataSource() As ICollection [C#] protected ICollection GetSelectedDataSource(); [C++] protected: ICollection* GetSelectedDataSource(); [JScript] protected function GetSelectedDataSource() : ICollection;
An ICollection with the selected data source, or a null reference (in Visual Basic Nothing) if a data source is not found, or if a data source with the same name does not exist.
BaseDataListDesigner Class | BaseDataListDesigner Members | System.Web.UI.Design.WebControls Namespace