Gets the postback value of the specified cell on the active sheet in the Spread component.
Syntax
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) |
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 Basic | Copy 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