IWebPartRow.GetRowData Method

Returns the data for the row 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 GetRowData (
	RowCallback^ callback
)
void GetRowData (
	RowCallback callback
)
function GetRowData (
	callback : RowCallback
)
Not applicable.

Parameters

callback

A RowCallback delegate that contains the address of a method that receives the data.

Use this method to retrieve the data row 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 GetRowData method. The complete example is shown in the class overview for the IWebPartRow interface. The provider control implements the GetRowData method, returning the value of a particular row in the data table. The consumer control calls the GetRowData 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, 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: