Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetDataRow Method
Row index
Example


In This Topic
    GetDataRow Method
    In This Topic
    Gets the view of a specified row of data.
    Syntax
    'Declaration
     
    
    Public Function GetDataRow( _
       ByVal row As Integer _
    ) As DataRowView
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim row As Integer
    Dim value As DataRowView
     
    value = instance.GetDataRow(row)
    public DataRowView GetDataRow( 
       int row
    )

    Parameters

    row
    Row index

    Return Value

    DataRowView object containing the view of row of data
    Remarks
    For more information about the DataRowView object, refer to the Microsoft .NET Framework Reference.
    Example
    This example attaches a DataTable to a DefaultSheetDataModel, which is then assigned to the DataModel of the spreadsheet. The DataRow, DataTable and DataView are returned to a list box.
    See Also