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: 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
Available since 1.1
Show: