Export (0) Print
Expand All

DataBoundControlDesigner.GetDesignTimeDataSource Method

Gets the design-time data source from either the associated DataSourceDesigner or the DataSource property.

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

protected virtual IEnumerable GetDesignTimeDataSource()

Return Value

Type: System.Collections.IEnumerable
An object that implements an IEnumerable interface referencing the design-time data source.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft