ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / SetData Method / SetData(Int32,Int32,Object) Method
Row index.
Column index.
Value to assign to the cell.

In This Topic
    SetData(Int32,Int32,Object) Method
    In This Topic
    Assigns a value to a grid cell, coercing the value into the cell's specified DataType.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function SetData( _
       ByVal row As Integer, _
       ByVal col As Integer, _
       ByVal value As Object _
    ) As Boolean
    public virtual bool SetData( 
       int row,
       int col,
       object value
    )

    Parameters

    row
    Row index.
    col
    Column index.
    value
    Value to assign to the cell.

    Return Value

    True if the value was assigned to the cell, false if the value could not be assigned (usually because it could not be converted to the appropriate type).
    See Also