Επεξεργασία

Κοινή χρήση μέσω


ObjectListField.DataBindItem(Int32, ObjectListItem) Method

Definition

Binds the field of the specified item to its corresponding data. Called internally by ASP.NET. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 void DataBindItem(int fieldIndex, System::Web::UI::MobileControls::ObjectListItem ^ item);
public void DataBindItem (int fieldIndex, System.Web.UI.MobileControls.ObjectListItem item);
member this.DataBindItem : int * System.Web.UI.MobileControls.ObjectListItem -> unit
Public Sub DataBindItem (fieldIndex As Integer, item As ObjectListItem)

Parameters

fieldIndex
Int32

Indicates which data value in the ObjectListItem to bind.

item
ObjectListItem

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

Exceptions

the specified DataField does not exist.

Applies to

See also