| |||||
DataGridItem.DataItem PropertySystem.Web.UI.WebControls Namespace DataGridItem Class Sets or retrieves the data item associated with the DataGridItem. Syntax
Property Value
The property is read/write with no default value. RemarksUse the DataItem property to specify or determine the properties of a data item associated with the DataGridItem object in the DataGrid control. DataItem is mainly used to bind a field from the data source to a control on the DataGridItem. For any of the templated list controls, such as DataList, DataGrid, or Repeater, this property provides the object reference against which a databinding expression is evaluated, and should always be set to Container.DataItem. DataItem provides the navigation path from the container to the property value to be placed in the bound control.
See Also |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme