DesignTimeData.GetDesignTimeDataSource Method (DataTable, Int32)
.NET Framework (current version)
Adds the specified number of sample rows to the specified data table.
Assembly: System.Design (in System.Design.dll)
Public Shared Function GetDesignTimeDataSource ( dataTable As DataTable, minimumRows As Integer ) As IEnumerable
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.IEnumerableAn object implementing IEnumerable containing sample data for use at design time.
.NET Framework
Available since 1.1
Available since 1.1
Show: