Determines whether the specified row contains data.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Function IsRowUsed( _
ByVal row As Integer _
) As Boolean |
Parameters
- row
- Row index
Return Value
true if the row contains data;
false otherwise
Example
This example checks to see if the specified row contains data.
C# | Copy Code |
---|
FarPoint.Web.Spread.Model.BaseSheetDataModel bdm;
bool b;
bdm = (FarPoint.Web.Spread.Model.BaseSheetDataModel)FpSpread1.ActiveSheetView.DataModel;
bdm.SetValue(0, 0, "Test Row Empty");
b = bdm.IsRowUsed(0);
Response.Write("The row used is " + b.ToString());
|
Visual Basic | Copy Code |
---|
Dim bdm As FarPoint.web.Spread.Model.BaseSheetDataModel
Dim b As Boolean
bdm = FpSpread1.ActiveSheetView.DataModel
bdm.SetValue(0, 0, "Test Row Empty")
b = bdm.IsRowUsed(0)
Response.Write("The row used is " & b.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