• SnapObjects .NET API Documentation

    This site offers links to all the available documents related to SnapObjects .NET development. If you want to find the documents of the other Appeon products (PowerBuilder IDE, SnapDevelop, DataWindow Converter, PowerScript Migrator, PowerServer, and InfoMaker), go to the Appeon Documentation Center.

    SnapObjects .NET API

    Getting Started:

    Features List of SnapObjects 5.x

    Installation Guide of SnapObjects 5.x

    Release Bulletin of SnapObjects 5.x

    API Reference:

    SnapObjects .NET API Reference (5.x) (4.x) (3.1.x) (3.0.0) (2.1.0) (2.0.0) (1.0.x)

    Tutorials:

    CRUD Operations with SqlModelMapper

    Add Data Validation to SqlModelMapper

    Developer Guides:

    Working with Transactions in SnapObjects

    Using Nested Models in SqlModelMapper

    Tracking Actions with SqlModelMapper

    Type-Safe Queries Using SnapObjects API

    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.Int32

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

    endRow System.Int32

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

    startColumn System.Int32

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

    endColumn System.Int32

    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

    In This Article
    • Syntax
    • Examples
    • Applies to
    Back to top Generated by Appeon