Show / Hide Table of Contents

    DataTableExtensions.ExportJson(this DataTable dataTable, int startRow, int endRow) Method

    .NET Standard 2.x

    Exports data from the DataTable to a Plain JSON string, and specifies the start and end positions of the rows.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    public static string ExportJson(this DataTable dataTable, int startRow, int endRow)
    

    Parameters

    startRow System.Int322

    The zero-based index number of the first row in the buffer that you want to export.

    endRow System.Int322

    The zero-based index number of the last row in the buffer that you want to export.

    Returns

    System.String

    Returns the JSON string.

    Reference Plain JSON.

    Examples

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon