DataBoundControlDesigner.GetSampleDataSource Method ()

 

Gets dummy sample data to render the data-bound control on the design surface if sample data cannot be created from the DataSourceDesigner or DataSource properties.

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

Protected Overridable Function GetSampleDataSource As IEnumerable

Return Value

Type: System.Collections.IEnumerable

An object that implements the IEnumerable interface containing dummy sample data used to render the data-bound control on the design surface.

.NET Framework
Available since 2.0
Return to top
Show: