System.Web.UI.Design.DesignTimeData.CreateDummyDataTable Method

Creates a System.Data.DataTable object that contains three columns with names that indicate that the columns contain sample data.

Syntax

public static System.Data.DataTable CreateDummyDataTable ()

Returns

A new System.Data.DataTable with three columns. These columns can contain data of type string.

Remarks

The column data types are all string. The calling designer component can call the DesignTimeData.GetDesignTimeDataSource(System.Data.DataTable, int) method to add rows of data to the resulting table.

Requirements

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