This documentation is archived and is not being maintained.

IWebPartTable::GetTableData Method

Returns the data for the table that is being used by the interface as the basis of a connection between two WebPart controls.

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

void GetTableData(
	TableCallback^ callback
)

Parameters

callback
Type: System.Web.UI.WebControls.WebParts::TableCallback
A TableCallback delegate that contains the address of a method that receives the data.

Use this method to retrieve the data table values passed by the interface. The provider implements this method, and the consumer invokes it at the point when the consumer is ready to process or render data.

The following code example shows the implementation and use of the GetTableData method. The complete example is shown in the class overview for the IWebPartTable interface. The provider control implements the GetTableData method, returning the data in the specified table. The consumer control calls the GetTableData method in its OnPreRender method, so that the value of the data can be written to the page.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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