DesignerDataSourceView.GetDesignTimeData Method (Int32, Boolean)
.NET Framework (current version)
Generates design-time data that matches the schema of the associated data source control using the specified number of rows, indicating whether it is returning sample data or real data.
Assembly: System.Design (in System.Design.dll)
Parameters
- minimumRows
-
Type:
System.Int32
The minimum number of rows to return.
- isSampleData
-
Type:
System.Boolean
true to indicate that the returned data is sample data; false to indicate that the returned data is live data.
Return Value
Type: System.Collections.IEnumerableA DataSourceView object containing data to display at design time.
For a complete example of using the GetDesignTimeData method with views, schemas, and a data source designer, see DataSourceDesigner.
.NET Framework
Available since 2.0
Available since 2.0
Show: