DataBoundControlDesigner.GetSampleDataSource Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 virtual IEnumerable GetSampleDataSource()

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: