ObjectListField.DataBindItem Method

Binds the field of the specified item to its corresponding data. Called internally by ASP.NET.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

public:
void DataBindItem (
	int fieldIndex, 
	ObjectListItem^ item
)
public void DataBindItem (
	int fieldIndex, 
	ObjectListItem item
)
public function DataBindItem (
	fieldIndex : int, 
	item : ObjectListItem
)
Not applicable.

Parameters

fieldIndex

Indicates which data value in the ObjectListItem to bind.

item

Item in the ObjectList containing the fields you want to bind to.

Exception typeCondition

Exception

the specified DataField does not exist.

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, 1.1

Community Additions

ADD
Show: