ComponentOne AppView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridViewRow Class / DataItem Property

In This Topic
    DataItem Property (C1GridViewRow)
    In This Topic
    Gets or sets the underlying data object to which the C1GridViewRow object is bound.
    Syntax
    'Declaration
     
    Public Overridable ReadOnly Property DataItem As System.Object
    public virtual System.object DataItem {get;}
    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 C1GridView.RowDataBound event of a System.Web.UI.WebControls.GridView control.
    See Also