Show / Hide Table of Contents

    **DataTableExtensions.**ExportJson(this DataTable dataTable, int startRow, int endRow, short startColumn, short endColumn) 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 and columns.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

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

    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.

    startColumn System.Int322

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

    endColumn System.Int322

    The zero-based index number of the last column 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