DesignTimeData.CreateDummyDataBoundDataTable Method

Note: This method is new in the .NET Framework version 2.0.

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 ()
public static DataTable CreateDummyDataBoundDataTable ()
public static function CreateDummyDataBoundDataTable () : DataTable

Return Value

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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: