Show / Hide Table of Contents

    DataTableExtensions.ExportJson(this DataTable dataTable, bool changedOnly) Method

    .NET Standard 2.x

    Exports all rows or only the changed rows from the DataTable to a Plain JSON string.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    public static string ExportJson(this DataTable dataTable, bool changedOnly)
    

    Parameters

    changedOnly System.Boolean

    A boolean specifying the changing flag.

    True: to export the changed rows only (and all rows in the delete buffer).

    False (default): to export all rows.

    Returns

    System.String

    Returns the JSON string.

    Reference Plain JSON.

    Examples

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon