XmlDesignerDataSourceView.GetDesignTimeData Method (Int32, Boolean)


Generates design-time data that matches the schema of the associated data source control and returns a value indicating whether the data is sample or real data.

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

public override IEnumerable GetDesignTimeData(
	int minimumRows,
	out bool isSampleData


Type: System.Int32

The minimum number of rows to return.

Type: System.Boolean

true to indicate that the returned data is sample data; false to indicate that the returned data is live data.

Return Value

Type: System.Collections.IEnumerable

A DataSourceView object containing data to display at design time.

.NET Framework
Available since 2.0
Return to top