MobileListItem.DataItem Property
.NET Framework 2.0
Gets or sets the data item to which the list item is bound. This property is available only on a request where the list item is data-bound; on subsequent postbacks, it is always a null reference (Nothing in Visual Basic).
Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)
Assembly: System.Web.Mobile (in system.web.mobile.dll)
/** @property */ public Object get_DataItem () /** @property */ public void set_DataItem (Object value)
public function get DataItem () : Object public function set DataItem (value : Object)
Property Value
The object to which the MobileListItem is bound.The following code example demonstrates how to use the DataItem property to access the object bound to the MobileListItem object of a List control.
Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: