Spread ASP.NET 6.0 Product Documentation
GetEditValue Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : GetEditValue Method


row
Row index of the cell
column
Column index of the cell

Glossary Item Box

Gets the postback value of the specified cell on the active sheet in the Spread component.

Syntax

Visual Basic (Declaration) 
Public Function GetEditValue( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim row As Integer
Dim column As Integer
Dim value As Object
 
value = instance.GetEditValue(row, column)
C# 
public object GetEditValue( 
   int row,
   int column
)

Parameters

row
Row index of the cell
column
Column index of the cell

Return Value

Object containing the cell contents

Example

This example queries the GetEditValue of cell A1 in the spreadsheet.
C#Copy Code
objectval=FpSpread1.GetEditValue(0,0);
if(val==FarPoint.Web.Spread.FpSpread.Unchanged)
{
TextBox1.Text="CellA1isnotchanged";
}
else
{
TextBox1.Text=Convert.ToString(FpSpread1.GetEditValue(0,0));
}
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.