Spread for ASP.NET 9.0 Product Documentation
GetUnboundValue Method (SheetView)
Example 


Row index
Column index
Gets the unbound value for a cell at the specified row and column.
Syntax
'Declaration
 
Public Function GetUnboundValue( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As Object
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As Object
 
value = instance.GetUnboundValue(row, column)
public object GetUnboundValue( 
   int row,
   int column
)

Parameters

row
Row index
column
Column index

Return Value

Object containing the value in the cell, or null if there is none
Example
This example returns the unbound value for the specified cell.
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
object o;
sv.AddUnboundRows(1, 1);
sv.SetValue(1, 0, 5);
o = sv.GetUnboundValue(1, 0);
Response.Write("The value in the unbound cell is " + o.ToString());
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
Dim o As Object
sv.AddUnboundRows(1, 1)
sv.SetValue(1, 0, 5)
o = sv.GetUnboundValue(1, 0)
Response.Write("The value in the unbound cell is " & o.ToString())
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
GetValue Method
GetText Method

User-Task Documentation

Handling Data Using Cell Properties

 

 


Copyright © GrapeCity, inc. All rights reserved.