NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BaseDataListDesigner.GetSelectedDataSource

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;

Return Value

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.

See Also

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