RepeaterDesigner.GetSelectedDataSource Method ()

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Retrieves the selected data source component from the container of the associated Repeater control.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public object GetSelectedDataSource()

Return Value

Type: System.Object

The selected data source; null if a data source is not found or if a data source with the selected name does not exist.

The GetSelectedDataSource method uses the DesignTimeData.GetSelectedDataSource method to construct a data source from the object that is specified by the DataSource property.

.NET Framework
Available since 1.1
Return to top
Show: