RepeaterDesigner.GetDesignTimeDataSource Method (IEnumerable, Int32)

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns design-time sample data based on the provided data and using the specified number of rows.

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

protected:
IEnumerable^ GetDesignTimeDataSource (
	IEnumerable^ selectedDataSource, 
	int minimumRows
)
protected IEnumerable GetDesignTimeDataSource (
	IEnumerable selectedDataSource, 
	int minimumRows
)
protected function GetDesignTimeDataSource (
	selectedDataSource : IEnumerable, 
	minimumRows : int
) : IEnumerable
Not applicable.

Parameters

selectedDataSource

An IEnumerable object containing data to use in creating similar sample data at design time.

minimumRows

The minimum number of rows of sample data that the data source should contain.

Return Value

An IEnumerable object containing sample data for use at design time.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: