DesignTimeData::CreateDummyDataBoundDataTable Method ()

 

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

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

public:
static DataTable^ CreateDummyDataBoundDataTable()

Return Value

Type: System.Data::DataTable^

A new DataTable object with three columns and no data.

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.

.NET Framework
Available since 2.0
Return to top
Show: