Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / GetEditValue Method
Example


In This Topic
    GetEditValue Method
    In This Topic
    Gets the postback value of the specified cell on the active sheet in the Spread component.
    Overload List
    OverloadDescription
    Gets the postback value of the specified cell on the active sheet in the Spread component.  
    Example
    This example queries the GetEditValue of cell A1 in the spreadsheet.
    objectval=FpSpread1.GetEditValue(0,0);
    if(val==FarPoint.Web.Spread.FpSpread.Unchanged)
    {
    TextBox1.Text="CellA1isnotchanged";
    }
    else
    {
    TextBox1.Text=Convert.ToString(FpSpread1.GetEditValue(0,0));
    }
    DimvalAsObject=FpSpread1.GetEditValue(0,0)
    If(Object.ReferenceEquals(val,FpSpread1.Unchanged))Then
    TextBox1.Text="CellA1isnotchanged"
    Else
    TextBox1.Text=Convert.ToString(FpSpread1.GetEditValue(0,0))
    EndIf
    See Also