Show / Hide Table of Contents

    DataTableExtensions.ImportXml(this DataTable dataTable, string xml, int startRow) Method

    .NET Standard 2.x

    Imports data from a XML string into the DataTable, and specifies the starting position of the rows.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    public static int ImportXml(this DataTable dataTable, string xml, int startRow)
    

    Parameters

    xml System.String

    A string specifying the Xml data.

    The JSON string must comply with the Plain Xml or DataWindow Xml .

    startRow System.Int32

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

    Returns

    System.Int32

    Returns the number of rows that were imported if it succeeds.

    Examples

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon