System.Web.UI.Design.DesignTimeData.GetDesignTimeDataSource Method

Adds the specified number of sample rows to the specified data table.

Syntax

public static IEnumerable GetDesignTimeDataSource (System.Data.DataTable dataTable, int minimumRows)

Parameters

dataTable
The System.Data.DataTable object to which the sample rows are added.
minimumRows
The minimum number of rows to add.

Returns

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

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0