Редагувати

Поділитися через


DesignTimeData.CreateDummyDataBoundDataTable Method

Definition

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

public:
 static System::Data::DataTable ^ CreateDummyDataBoundDataTable();
public static System.Data.DataTable CreateDummyDataBoundDataTable ();
static member CreateDummyDataBoundDataTable : unit -> System.Data.DataTable
Public Shared Function CreateDummyDataBoundDataTable () As DataTable

Returns

A new 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.

Applies to

See also