Gets or sets the underlying data object to which the C1GridViewRow object is bound.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public virtual Object DataItem { get; set; }
Visual Basic
Public Overridable Property DataItem As Object
	Get
	Set

Remarks

Use the DataItem property to access the properties of the underlying data object to which the C1GridViewRow object is bound. The DataItem property is only available during and after the RowDataBound event of a GridView control.

See Also