System.Web.UI.Design.DesignTimeData.CreateDummyDataBoundDataTable Method

Creates a System.Data.DataTable object that contains three columns with names indicating that the columns are connected to a data source.

Syntax

public static System.Data.DataTable CreateDummyDataBoundDataTable ()

Returns

A new System.Data.DataTable object with three columns and no data.

Remarks

The table is not actually bound to a data source. Each column name simply indicates that it is a data-bound column. The column data types are string, integer, and string. The calling designer component must add rows and data to the resulting table.

Requirements

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