FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGrid Class / SetData Method / SetData(Int32,String,Object) Method
Row index.
Column name.
Value to assign to the cell.

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

    Parameters

    row
    Row index.
    colName
    Column name.
    value
    Value to assign to the cell.

    Return Value

    True if the value was assigned to the cell, False otherwise.
    See Also