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


row
Row index
column
Column index

Glossary Item Box

Gets the unbound value for a cell at the specified row and column.

Syntax

Visual Basic (Declaration) 
Public Function GetUnboundValue( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As Object
 
value = instance.GetUnboundValue(row, column)
C# 
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.
C#Copy Code
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());
Visual BasicCopy Code
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 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.