DesignTimeData::GetDesignTimeDataSource Method (DataTable^, Int32)

 

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

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

public:
static IEnumerable^ GetDesignTimeDataSource(
	DataTable^ dataTable,
	int minimumRows
)

Parameters

dataTable
Type: System.Data::DataTable^

The DataTable object to which the sample rows are added.

minimumRows
Type: System::Int32

The minimum number of rows to add.

Return Value

Type: System.Collections::IEnumerable^

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

.NET Framework
Available since 1.1
Return to top
Show: