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

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.

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: